install missing dropbear dependencies
@@ -22,20 +22,25 @@ main() {
aarch64)
arch=arm64
kernel="${kversion}-arm64"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
armv7)
arch=armhf
kernel="${kversion}-armmp"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
i686)
arch=i386
kernel="${kversion}-686"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
mips|mipsel)
kernel="${kversion}-4kc-malta"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
mips64el)
kernel="${kversion}-5kc-malta"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
powerpc)
# there is no buster powerpc port, so we use jessie
@@ -51,6 +56,7 @@ main() {
echo "APT::Get::AllowUnauthenticated true;" | tee -a /etc/apt/apt.conf.d/10-nocheckvalid
dropbear="dropbear"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch libcrypt1:$arch)
;;
powerpc64)
# there is no stable port
@@ -66,10 +72,12 @@ main() {
powerpc64le)
arch=ppc64el
kernel="${kversion}-powerpc64le"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
s390x)
arch=s390x
kernel="${kversion}-s390x"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
sparc64)
# there is no stable port
@@ -84,6 +92,7 @@ main() {
x86_64)
arch=amd64
kernel="${kversion}-amd64"
+ deps=(libtommath1:$arch libtomcrypt1:$arch libgmp10:$arch)
;;
*)
echo "Invalid arch: ${arch}"
