From 979c71fd6ef040af0049541dd3ef608759d461fe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 29 Feb 2008 16:40:02 +0100 Subject: Including default kernel-img.conf in live-systems. --- helpers/lh_chroot_linux-image | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'helpers/lh_chroot_linux-image') 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 -- cgit v1.2.3