Kali kernel do need an initrd, it was just not generated due to lack of initramfs-tools

Temporarily work-around the missing package by installing it during bootstrap
phase. Later we will add it to the package dependency.
debian-cd
Raphaël Hertzog 13 years ago
parent a2ac01b548
commit 713d006369

@ -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" \

@ -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

Loading…
Cancel
Save