From e45c4b24062a490d01c8a3556f09d140bf1a88fe Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Tue, 12 Aug 2008 11:03:22 +0200 Subject: 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 --- update-initramfs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'update-initramfs') 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() -- cgit v1.2.3