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

Vratislav Podzimek vpodzime at redhat.com
Mon Sep 16 15:00:52 UTC 2013


On Fri, 2013-09-13 at 18:02 -0700, Brian C. Lane wrote:
> 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)
These both look good to me.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list