livemedia-creator: Fix gcdx64.efi path to work for other distros than Fedora (#1003078)

This commit is contained in:
Brian C. Lane 2013-09-13 16:35:01 -07:00
parent 2025a6a1df
commit 7d83abb8d0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
## WHeeeeeeee, EFI.
## We could remove the basearch restriction someday..
<% efiargs=""; efigraft=""; efihybrid="" %>
%if exists("boot/efi/EFI/fedora/gcdx64.efi") and basearch != 'i386':
%if exists("boot/efi/EFI/*/gcdx64.efi") and basearch != 'i386':
<%
efiarch = 'X64' if basearch=='x86_64' else 'IA32'
efigraft="EFI/BOOT={0}/EFI/BOOT".format(outroot)