Use small trick to let cdebootstrap recognize kali as wheezy

It's cleaner than the hook and avoid other errors with more
recent live-build versions.
debian-cd
Raphaël Hertzog 13 years ago
parent 713d006369
commit 6fba34ad54

@ -6,4 +6,6 @@
# /usr/share/live/build/functions/releases.sh)
export RELEASE_kali="7.0"
export CDEBOOTSTRAP_OPTIONS="--suite-config wheezy"
lb build noauto "$@" 2>&1 | tee binary.log

@ -7,7 +7,7 @@ export LB_BOOTSTRAP_INCLUDE=initramfs-tools
lb config noauto \
--distribution "kali" \
--parent-distribution "wheezy" \
--parent-distribution "kali" \
--debian-installer-distribution "kali" \
--parent-debian-installer-distribution "wheezy" \
--archive-areas "main contrib non-free" \

@ -1,5 +0,0 @@
#!/bin/sh
# somehow we need to replace wheezy with kali
sed -i -e 's/wheezy/kali/g' /etc/apt/sources.list
Loading…
Cancel
Save