X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=build_deps.sh;h=b275913f39a92d2d4a35ef7e158bf9181b0586d3;hb=feb573c635143d4768bcd134ef1f41fb667e05c8;hp=52502f894c05ef64c0518596670bf2a6b634623f;hpb=a741ee7426b9870b714bd92f67b486c2d0f9b2aa;p=max%2Finitramfs.git 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