Fix gcdx64.efi path to work for other distros than Fedora.
This commit is contained in:
parent
5d7bb6dc40
commit
68f7637cab
@ -63,7 +63,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
|
|||||||
## WHeeeeeeee, EFI.
|
## WHeeeeeeee, EFI.
|
||||||
## We could remove the basearch restriction someday..
|
## We could remove the basearch restriction someday..
|
||||||
<% efiargs=""; efigraft=""; efihybrid="" %>
|
<% 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'
|
efiarch = 'X64' if basearch=='x86_64' else 'IA32'
|
||||||
efigraft="EFI/BOOT={0}/EFI/BOOT".format(outroot)
|
efigraft="EFI/BOOT={0}/EFI/BOOT".format(outroot)
|
||||||
|
Loading…
Reference in New Issue
Block a user