summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-04-18 17:56:52 +0200
committermaximilian attems <maks@debian.org>2009-04-18 17:58:55 +0200
commit409aa55645953add7c38721432a374cbd7c4b3be (patch)
tree45794384edd4ebd609f9b88a20693a0647f3952b /update-initramfs
parent652423c6f5b636f95899254aba213d417caff158 (diff)
downloadinitramfs-tools-409aa55645953add7c38721432a374cbd7c4b3be.tar.gz
initramfs-tools-409aa55645953add7c38721432a374cbd7c4b3be.zip
update-initramfs: Pass version to flash-kernel
allows handling of different subarches. (closes: #523711) Reported-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'update-initramfs')
-rwxr-xr-xupdate-initramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs
index 7e5337f..90a7eda 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -265,7 +265,7 @@ run_bootloader()
zipl
fi
if flash-kernel --supported >/dev/null 2>&1; then
- flash-kernel
+ flash-kernel ${version}
fi
}