[Bug 358762] Re: update-initramfs trigger should run flash-kernel

Loïc Minier lool at dooz.org
Fri Apr 10 22:05:31 UTC 2009


What Debian merged was this patch:
diff --git a/update-initramfs b/update-initramfs
index 6f978f3..9830a7d 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -262,6 +262,12 @@ run_bootloader()
        if [ -r /etc/zipl.conf ]; then
                zipl
        fi
+       if flash-kernel --supported >/dev/null 2>&1; then
+               flash-kernel
+       fi
+       if glantank-update-kernel --supported >/dev/null 2>&1; then
+               glantank-update-kernel
+       fi
 }
 
 compare_sha1()

(modified to drop glantank later on)

Concerning update-initramfs -c: we add a /etc/kernel-img.conf which
calls flash-kernel on upgrades.

Will attach a debdiff.

-- 
update-initramfs trigger should run flash-kernel
https://bugs.launchpad.net/bugs/358762
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list