* Michael Goetze <m...@hosteurope.de> [Mon Feb 08, 2010 at 04:17:10 +0100]:

> In the simple examples, there is a files/etc/kernel-img.conf/DEFAULT
> which seems to be somewhat outdated. Notably, on Ubuntu 8.04 systems,
> update-grub is not called automatically when a new kernel version is
> installed (though this might theoretically be considered an Ubuntu bug).
> Therefore, I recommend replacing it with the following file which comes
> from a default install:

> # 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

> Of course, if the simple examples still want to support LILO, a separate
> files/etc/kernel-img.conf/LILO would need to be supported.

FAI 3.4.x provides the following
examples/simple/files/etc/kernel-img.conf/DEFAULT file:

do_symlinks = Yes
do_initrd = Yes
silent_modules=yes
clobber_modules=yes
do_boot_enable=no

On some of my systems I find:

# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = Yes

and:

# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = Yes
do_initrd = Yes

The "Policy for Linux kernel, initramfs, boot loader update process"
(see http://lists.debian.org/debian-devel/2010/06/msg00538.html ff)
actually suggests to not set do_bootloader, postinst_hook or
postrm_hook in /etc/kernel-img.conf any longer, also documented at
http://kernel-handbook.alioth.debian.org/ch-update-hooks.html#s-init-config

So unless there are objections I tend to keep the version as-it-is
in FAI 3.4 and close this bugreport.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to