aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-11-04 11:29:56 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-11-04 11:29:56 +0100
commit00349ef90e4ced5bd844d26772e3f69aa28a7575 (patch)
tree76574c1f7f2facf1d4f3a6ddd62ed8ca2fe927da /scripts
parent64cbc2f09fc6d8e99d00c9b69946b397fb07ab15 (diff)
downloadimagefish-00349ef90e4ced5bd844d26772e3f69aa28a7575.tar.gz
more grub2 tweaks
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tar-to-image.sh6
1 files changed, 3 insertions, 3 deletions
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
}