[SCM] debian-live/live-initramfs branch, master, updated. 1.128.1-1-4-gfa39f4a
Daniel Baumann
daniel at debian.org
Tue Apr 15 20:35:48 UTC 2008
The following commit has been merged in the master branch:
commit 41aaeb6e4c449f61f4c0e411638f336965c26a3a
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Apr 15 22:33:01 2008 +0200
Restricting counting of installed kernels based on /boot/vmlinuz-* instead of /boot/vmlinuz*.
Kernel images installed the proper way from .deb packages are always
naming their kernel files vmlinuz-*. This way, we can avoid tampering
with completely customized kernels which handle initramfs on their own
(or completely different).
diff --git a/debian/postinst b/debian/postinst
index 805eb0a..71d71e3 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,6 +1,6 @@
#!/bin/sh
-case "$(ls -l /boot/vmlinuz* | wc -l)" in
+case "$(ls -l /boot/vmlinuz-* | wc -l)" in
1)
# We only have one kernel installed, so we can use "-u"
# which will use dpkg-trigger inside update-initramfs
diff --git a/debian/postrm b/debian/postrm
index 805eb0a..71d71e3 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,6 +1,6 @@
#!/bin/sh
-case "$(ls -l /boot/vmlinuz* | wc -l)" in
+case "$(ls -l /boot/vmlinuz-* | wc -l)" in
1)
# We only have one kernel installed, so we can use "-u"
# which will use dpkg-trigger inside update-initramfs
--
debian-live/live-initramfs
More information about the debian-live-changes
mailing list