diff options
author | maximilian attems <maks@debian.org> | 2008-08-12 11:03:22 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2008-08-12 11:03:22 +0200 |
commit | e45c4b24062a490d01c8a3556f09d140bf1a88fe (patch) | |
tree | 81cd353fea61035cb1c8051e0d453ce7afce31c4 /update-initramfs | |
parent | 6b01325aadd949b451dd201667a3f0d088337208 (diff) | |
download | initramfs-tools-e45c4b24062a490d01c8a3556f09d140bf1a88fe.tar.gz initramfs-tools-e45c4b24062a490d01c8a3556f09d140bf1a88fe.zip |
update-initramfs: run_bootloader() invoke flash-kernel and glantank-update-kernel
in case of triggered update-initramfs the latest initramfs should get
flashed.
thanks to Joey Hess <joeyh@debian.org>
Diffstat (limited to 'update-initramfs')
-rwxr-xr-x | update-initramfs | 6 |
1 files changed, 6 insertions, 0 deletions
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() |