From feb573c635143d4768bcd134ef1f41fb667e05c8 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 16 May 2018 08:51:20 +0100 Subject: [PATCH] Add dropbear compilation --- build_deps.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/build_deps.sh b/build_deps.sh index 52502f8..b275913 100755 --- a/build_deps.sh +++ b/build_deps.sh @@ -17,6 +17,9 @@ cryptsetup_ver="$(version ${cryptsetup})" lvm="LVM" lvm_ver="2.2.02.166" +busybox="busybox" +busybox_ver="$(version ${dropbear})" + if [ -d ${wd} ]; then rm -rf ${wd} fi @@ -77,4 +80,21 @@ CFLAGS="-fPIC" \ make -j8 make install DESTDIR=${wd}/lvm +cd ${wd} + +cd ${dropbear}${dropbear} + +./configure --enable-static \ + --disable-syslog \ + --disable-utmp \ + --disable-utmpx \ + --disable-wtmp \ + --disable-wtmpx \ + --disable-harden \ + --disable-zlib \ + --disable-pam \ + --disable-shadow + +make -j8 +make install DESTDIR=${wd}/dropbear -- 2.46.2