From 5330b557ace8686e8f1ffc94ee120a1dc57714d7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 29 Feb 2008 17:29:00 +0100 Subject: It's actually enough to just truncate kernel-img.conf and also less invasive than including a default configuration. --- helpers/lh_chroot_linux-image | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/helpers/lh_chroot_linux-image b/helpers/lh_chroot_linux-image index 6d9a756..eafaaa6 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 -- cgit v1.0