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

Re: [RFC] Updating boot loaders in lenny and squeeze


Ben Hutchings <ben@decadent.org.uk> wrote on 2010-06-19 03:55:

> However, given that route B is present in both lenny and squeeze (and
> even in etch, I think) there is no good reason for packages not to rely
> on it now.  (Well, except lack of documentation.)  All boot loader
> packages that fall into case 1 or 2 should be installing hook scripts,
> but currently only extlinux does.  I intend to remove the vestigial code
> for route A, and file bugs on all boot loaders in case 1 or 2 that do
> not use route B.

It seems this is the first step for optimizing lilo. I have checked the
sources for extlinux (package syslinux) and the scripts appears to be

> In case 1, the boot loader should also be called by update-initramfs
> when it is called outside of kernel package installation and removal.
> This is normally covered by route D, but this seems a little fragile.  I

I have tested this behaviour with a hook script for update-initramfs. 
There is still a problem: Until now in the script is a check about which
bootloader is active. Only if no grub is installed then the script starts
lilo after install/update/remove of initrd's. But this feature shall go
away and then a hook script for update-initramfs is a good solution
(in /etc/initramfs-tools/hooks/).

Over all - thanks for you very detailed information. Now I think the lilo
package can better maintained again.

Have a nice day,

Joachim (Germany)

Attachment: signature.asc
Description: PGP signature

Reply to: