summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_linux-image
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-02-29 16:40:02 +0100
committerDaniel Baumann <daniel@debian.org>2008-02-29 16:40:02 +0100
commit6244123de27d6a452414fe650de2aad7b9b6b30b (patch)
tree060079f8c1c6170e8a00d68e0de6ef4a598aaa10 /helpers/lh_chroot_linux-image
parent179b86ab6469082ae34fabe5c7952a364de90253 (diff)
downloadvyos-live-build-6244123de27d6a452414fe650de2aad7b9b6b30b.tar.gz
vyos-live-build-6244123de27d6a452414fe650de2aad7b9b6b30b.zip
Including default kernel-img.conf in live-systems.
Diffstat (limited to 'helpers/lh_chroot_linux-image')
-rwxr-xr-xhelpers/lh_chroot_linux-image17
1 files changed, 16 insertions, 1 deletions
diff --git a/helpers/lh_chroot_linux-image b/helpers/lh_chroot_linux-image
index d8718af36..6d9a75657 100755
--- a/helpers/lh_chroot_linux-image
+++ b/helpers/lh_chroot_linux-image
@@ -128,7 +128,22 @@ 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
+ #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
+
fi
# Removing stage file