Re: update-grub on aptitude install of new linux image...
On 12/1/05, Florian Ernst <firstname.lastname@example.org> wrote:
> Hello *,
> On Wed, Nov 30, 2005 at 08:52:37PM -0600, Javier-Elias Vasquez-Vivas wrote:
> > I'm wondering how to make update-grub automatically when ever a new
> > linux image gets installed, whether from debian stock or generated
> > through make-kpkg. Might be just editing a config file or something?
> /etc/kernel-img.conf is the one you want.
> If you have the kernel-package package installed you'll find further
> information in "man kernel-img.conf" and a sample configuration in
> I personally use
> | do_symlinks = no
> | postinst_hook = /sbin/update-grub
> | postrm_hook = /sbin/update-grub
> | do_bootloader = no
> | do_bootfloppy = no
You're right it looks like the one... I'll give a shot, and of course
can try it on next image installation, :)
Thanks a lot,