Package: initramfs-tools
Version: 0.92o

This will keep lilo from overwriting the mbr when do_bootloader = no, at least.

diff -ur initramfs-tools-0.92o.orig/update-initramfs 
initramfs-tools-0.92o/update-initramfs
--- initramfs-tools-0.92o.orig/update-initramfs 2008-09-15 05:48:38.000000000 
-0400
+++ initramfs-tools-0.92o/update-initramfs      2009-01-11 14:04:07.703082128 
-0500
@@ -233,7 +233,7 @@
 {
        # if both lilo and grub around, figure out if lilo needs to be run
        if [ -x /sbin/grub ] || [ -e /boot/grub/menu.lst ] \
-       || [ -x /usr/sbin/grub ]; then
+       || [ -x /usr/sbin/grub ] || [ -e /boot/grub/grub.cfg ]; then
                if [ -e /etc/lilo.conf ] && [ -x /sbin/lilo ]; then
                        [ -r "${KPKGCONF}" ] && \
                        do_b=$(awk  '/^do_bootloader/{print $3}' "${KPKGCONF}")



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

Reply via email to