diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-04 11:29:56 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-04 11:29:56 +0100 |
commit | 00349ef90e4ced5bd844d26772e3f69aa28a7575 (patch) | |
tree | 76574c1f7f2facf1d4f3a6ddd62ed8ca2fe927da /scripts | |
parent | 64cbc2f09fc6d8e99d00c9b69946b397fb07ab15 (diff) | |
download | imagefish-00349ef90e4ced5bd844d26772e3f69aa28a7575.tar.gz |
more grub2 tweaks
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tar-to-image.sh | 6 |
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 } |