summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-03-30 00:54:34 +0200
committermaximilian attems <maks@debian.org>2009-03-30 01:01:48 +0200
commitac6626f75f60e3d765985043b546247e50265d39 (patch)
tree685bde90288ee0535b692527e2adfff7a9e185ca
parent89257a84d0bfcd46d5514c65245b7b3f57f67ddf (diff)
downloadinitramfs-tools-ac6626f75f60e3d765985043b546247e50265d39.tar.gz
initramfs-tools-ac6626f75f60e3d765985043b546247e50265d39.zip
update-initramfs: Run update on highest version instead of /initrd.img link
"Ah. there were symlinks in / - tho they were never ever used on this system. Seems pretty broken to rely on symlinks that might (and are) years out of date." Reported-by: Peter Palfrader <weasel@debian.org> so no longer rely on this links like since 0.65, but use the "latest" according the dpkg higher heuristic check. that should make people more happy! also the symlinks should be phased out, only fallback to them if set_highest_version() finds nothing. (closes: #493863)
-rwxr-xr-xupdate-initramfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-initramfs b/update-initramfs
index 8c085a5..ad65ef2 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -390,11 +390,11 @@ update()
fi
if [ -z "${version}" ]; then
- set_linked_version
+ set_highest_version
fi
if [ -z "${version}" ]; then
- set_highest_version
+ set_linked_version
fi
if [ -z "${version}" ]; then