[lorax-rhel7 1/2] livemedia-creator: Fix gcdx64.efi path to work for other distros than Fedora (#1003078)

Brian C. Lane bcl at redhat.com
Sat Sep 14 01:02:00 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

---
 share/live/x86.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/live/x86.tmpl b/share/live/x86.tmpl
index 8d31b8b..a640fee 100644
--- a/share/live/x86.tmpl
+++ b/share/live/x86.tmpl
@@ -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)
-- 
1.8.3.1



More information about the anaconda-patches mailing list