From: Maximilian Friedersdorff Date: Wed, 16 May 2018 07:51:20 +0000 (+0100) Subject: Add dropbear compilation X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=feb573c635143d4768bcd134ef1f41fb667e05c8;p=max%2Finitramfs.git Add dropbear compilation --- 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