summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-02-20 22:55:01 +0100
committermaximilian attems <maks@debian.org>2006-02-20 22:55:01 +0100
commita563d25cc42346ba18a43c2a37896316c245d922 (patch)
treed09a9d3ebb194b05f6896f8d863b4878f3c6e5de
parent70610d50c1815295a8bbe2c580738808b34034dc (diff)
downloadinitramfs-tools-a563d25cc42346ba18a43c2a37896316c245d922.tar.gz
initramfs-tools-a563d25cc42346ba18a43c2a37896316c245d922.zip
fix adding initrd against newer handbuild kernels.
-rw-r--r--debian/changelog8
-rw-r--r--update-initramfs2
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 033943e..a20ff37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+initramfs-tools (0.52c) unstable; urgency=high
+
+ * update-initramfs: set_current_version needs to check against
+ /boot/initrd-`uname -r` and not /boot/vmlinu?-`uname -r`.
+ Otherwise this builds initramfs for newer handbuild trees too.
+
+ -- maximilian attems <maks@sternwelten.at> Mon, 20 Feb 2006 15:46:54 +0100
+
initramfs-tools (0.52b) unstable; urgency=high
* update-initramfs: Set takeover=1. This allows hooks to regenerate the
diff --git a/update-initramfs b/update-initramfs
index 9ab4607..0c7b9e7 100644
--- a/update-initramfs
+++ b/update-initramfs
@@ -114,7 +114,7 @@ get_sorted_versions()
set_current_version()
{
- if [ -f /boot/vmlinu?-`uname -r` ]; then
+ if [ -f /boot/initrd.img-`uname -r` ]; then
version=`uname -r`
fi
}