summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hacks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-16 23:48:24 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-16 23:48:24 +0100
commit18c8ece239c6530224446264ef0827d07fe7f262 (patch)
treec2a1e9b5b777d6b17c81942d403ad0124ca1f9fa /scripts/build/chroot_hacks
parentf2d57e26ed53933ae538f332580daa4c9a3b4428 (diff)
downloadvyos-live-build-18c8ece239c6530224446264ef0827d07fe7f262.tar.gz
vyos-live-build-18c8ece239c6530224446264ef0827d07fe7f262.zip
Moving kexec-tools default preseeding into its own hook script.
Diffstat (limited to 'scripts/build/chroot_hacks')
-rwxr-xr-xscripts/build/chroot_hacks14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index 58f8e7064..1e7bce918 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -38,20 +38,6 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-# Handling default desktop configuration
-case "${LB_MODE}" in
- debian*)
- # disable kexec-tools
- if [ -e chroot/sbin/kexec ]
- then
- echo "kexec-tools kexec-tools/load_kexec boolean false" > chroot/root/preseed
- Chroot chroot "debconf-set-selections /root/preseed"
- rm -f chroot/root/preseed
- Chroot chroot "dpkg-reconfigure kexec-tools"
- fi
- ;;
-esac
-
case "${LB_BINARY_IMAGES}" in
netboot)
if [ ! -f chroot/sbin/mount.cifs ]