Re: Proposal: make kernel install easier
Adam C Powell IV <hazelsct@debian.org> writes:
> Greetings,
>
> Installing a new kernel package can be a bit of a pain, especially for
> newbies, what with hand-editing lilo.conf or config files for other
> bootloaders, from grub to yaboot/quik, aboot, palo, you name it. Yes,
> the kernel-image postinst runs lilo, but lilo.conf is invariably out of
> date, so this is relatively useless except for upgrades.
>
> So why not (optionally) automate the process a bit? Use a directory
> e.g. /usr/lib/bootloaders/ to put scripts for managing the .conf files
> and running the bootloaders.
I believe lilo and grub already have that.
>From /boot/grub/menu.lst
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below
There is also a mechanism in dpkg to install hooks now which is
hopefully already used to run update-grub.
MfG
Goswin
Reply to: