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

Bug#328424: linux-image-2.6.12-1-k7: does not update grub/menu.lst



On Thu, 2005-09-15 at 20:10 +0200, Sven Luther wrote:
> On Thu, Sep 15, 2005 at 11:54:29AM -0600, dann frazier wrote:
> > On Thu, 2005-09-15 at 11:31 +0200, Peter Eisentraut wrote:
> > > Am Donnerstag, 15. September 2005 10:41 schrieb Norbert Tretkowski:
> > > > Have you tried to run 'update-grub' by hand?
> > > 
> > > OK, that worked, but it seems the package should do that automatically.
> > 
> > The following lines in /etc/kernel-img.conf will make that happen:
> > 
> > postinst_hook = /sbin/update-grub
> > postrm_hook   = /sbin/update-grub
> > 
> > d-i should insure that those lines are added if you choose grub as your
> > bootloader. If you switch to grub later, you need to modify this file by
> > hand.  This is described in /usr/share/doc/grub/README.Debian.gz.
> 
> Maybe the grub package should follow the example of mkvmlinuz, and provide a
> script in /etc/kernel/post(inst|rm).d/grub

As long as it is smart enough to know that grub is the active
bootloader, it sounds like a good idea.  When migrating from LILO, for
example, you'd want both installed while you configured grub.  Maybe
provide the mkvmlinuz code as a patch for #271269?





Reply to: