diff --git a/auto/config b/auto/config index fa651c3..0394c36 100755 --- a/auto/config +++ b/auto/config @@ -1,5 +1,10 @@ #!/bin/sh +# --bootstrap-include "initramfs-tools" => work around lack of +# dependency on linux-image-3.2.6-kali + +export LB_BOOTSTRAP_INCLUDE=initramfs-tools + lb config noauto \ --distribution "kali" \ --parent-distribution "wheezy" \ diff --git a/config/hooks/workaround-live-build-limitation.chroot b/config/hooks/workaround-live-build-limitation.chroot index f1a60fe..cd98fcb 100755 --- a/config/hooks/workaround-live-build-limitation.chroot +++ b/config/hooks/workaround-live-build-limitation.chroot @@ -1,10 +1,5 @@ #!/bin/sh -# /usr/lib/live/build/lb_binary_linux-image expects /boot/initrd.img-* to -# expand to something but the kali image has no initrd - -touch /boot/initrd.img-fake - # somehow we need to replace wheezy with kali sed -i -e 's/wheezy/kali/g' /etc/apt/sources.list