[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#271269: grub: /etc/kernel-img.conf hooks should be added by package's post-install script



reassign 271269 grub
thanks

Sorry, I really don't see how this could be the kernel's problem.  It is up to
each bootloader to find all kernel-packages and add them to its menu. As such,
this bug indeed belongs to GRUB, not to the kernel.

On Mon, 20 Sep 2004, Robert Millan wrote:

> reassign 271269 kernel
> thanks
> 
> Good point, although this bug doesn't belong to grub.  I'm reassigning it..
> 
> On Sun, Sep 12, 2004 at 12:23:32PM +0300, Martin-?ric Racine wrote:
> > Package: grub
> > Severity: important
> > 
> > I have been wondering for a long time why the menu.lst gets automatically updated on a single host out of my whole 
> > i386 cluster.  The answer seems to be that update-grub won't automatically run whenever upgrading or removing 
> > kernel-images, because the following hooks are missing in /etc/kernel-img.conf:
> > 
> > # Update the GRUB menu
> > postrm_hook = /sbin/update-grub
> > postinst_hook = /sbin/update-grub
> > 
> > Given how Debian standardizes on GRUB starting with Sarge, it would be important that GRUB's installation scripts add
> > the above lines to /etc/kernel-img.conf automatically, upon installing or upgrading GRUB.  This would be easy to
> > implement and would save the end-user a lot of troubles, thus making Debian more user-friendly.
> 
> 

-- 
Martin-Éric Racine, ICT Consultant
http://www.iki.fi/q-funk/





Reply to: