Bug#587266: grub: Should install hook scripts under /etc/kernel/

Ben Hutchings ben at decadent.org.uk
Sat Jun 26 20:12:39 UTC 2010


Package: src:grub
Version: 0.97-61
Severity: important
Tags: squeeze sid

Currently the installer creates /etc/kernel-img.conf with 'user' hooks
to run update-grub.  However, if the user changes from LILO to GRUB at
a latter stage, this does not happen.  Also, /etc/kernel-img.conf is
not well-documented (the manual page is part of kernel-package which
is not included in a standard installation) and is now deprecated.

All kernel packages (since etch) will call hook scripts under
/etc/kernel/postinst.d etc. when newly installed, upgraded or removed.
GRUB should install scripts there rather than relying on the installer
or the user to edit additional configuration files.

Ben.

-- System Information:
Debian Release: squeeze/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-grub-devel mailing list