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

And alternatively havea debconf variable which is common to all bootloader and
is offered as a user choice ?

Friendly,

Sven Luther



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to