Elliott Mitchell <e...@m5p.com> wrote on 2011-03-24 21:12:

> Package: lilo
> Version: 1:22.8-10
> 
> First noticed this with the 1:22.8-7 (lenny) version. The lilo package
> installs hooks to get rerun when the initramfs-tools are invoked, or a
> kernel package is installed. These hooks though completely ignore
> /etc/kernel-img.conf (configuration file created by kernel-package); in
> particular the "do_bootloader" option, which was created to specifically
> DISABLE automatic reinstallation of the bootloader (this is invaluable
> with /interesting/ setups where the automatic runs break things).

The alternative to /etc/kernel-img.conf are now hook scripts for kernel
and initramfs which will be installed with newer lilo packages (since
22.8-9):

  /etc/kernel/postinst.d/zz-runlilo
  /etc/kernel/postrm.d/zz-runlilo
  /etc/initramfs/post-update.d/runlilo

Please notice that the use of /etc/kernel-img.conf is deprecated since
Debian Squeeze. If you don't want to use the new way with hook scripts
you can disable these scripts with 'exit 0'.

For details see the large discussion on debian-devel in summer 2010.

---
Have a nice day.

Joachim (Germany)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to