summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-02-29 17:29:00 +0100
committerDaniel Baumann <daniel@debian.org>2008-02-29 17:29:00 +0100
commitccb76dc4a47e09e98339cb1309ac0b4b3a851655 (patch)
tree3e51b4536e10dac3ab2873420a6893c18cb24222
parent6244123de27d6a452414fe650de2aad7b9b6b30b (diff)
downloadvyos-live-build-ccb76dc4a47e09e98339cb1309ac0b4b3a851655.tar.gz
vyos-live-build-ccb76dc4a47e09e98339cb1309ac0b4b3a851655.zip
It's actually enough to just truncate kernel-img.conf and also less invasive than including a default configuration.
-rwxr-xr-xhelpers/lh_chroot_linux-image17
1 files changed, 1 insertions, 16 deletions
diff --git a/helpers/lh_chroot_linux-image b/helpers/lh_chroot_linux-image
index 6d9a75657..eafaaa63e 100755
--- a/helpers/lh_chroot_linux-image
+++ b/helpers/lh_chroot_linux-image
@@ -128,22 +128,7 @@ EOF
mv chroot/etc/kernel-img.conf.old chroot/etc/kernel-img.conf
else
# Removing kernel-img.conf file
- #rm -f chroot/etc/kernel-img.conf
-
-# Default file taken from debian-installer etchr2
-cat > chroot/etc/kernel-img.conf << EOF
-# Kernel Image management overrides
-# See kernel-img.conf(5) for details
-do_symlinks = yes
-relative_links = yes
-do_bootloader = no
-do_bootfloppy = no
-do_initrd = yes
-link_in_boot = no
-postinst_hook = update-grub
-postrm_hook = update-grub
-EOF
-
+ Truncate chroot/etc/kernel-img.conf
fi
# Removing stage file