From 00349ef90e4ced5bd844d26772e3f69aa28a7575 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Sun, 4 Nov 2018 11:29:56 +0100 Subject: more grub2 tweaks --- scripts/tar-to-image.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/tar-to-image.sh b/scripts/tar-to-image.sh index 7924b4c..0ad2532 100755 --- a/scripts/tar-to-image.sh +++ b/scripts/tar-to-image.sh @@ -274,11 +274,11 @@ EOF fi haveboot=$(guestfish --remote -- is-file /boot/efi/EFI/BOOT/${uefi_boot_file}) - if test "$havegrubby" = "true"; then - echo "# have ${uefi_boot_file}, good" + if test "$haveboot" = "true"; then + echo "### have ${uefi_boot_file}, good" else grubefi=$(guestfish --remote -- ls /boot/efi/EFI/*/grub*.efi) - echo "# install ${grubefi} as ${uefi_boot_file}" + echo "### install ${grubefi} as ${uefi_boot_file}" fish cp ${grubefi} /boot/efi/EFI/BOOT/${uefi_boot_file} fi } -- cgit