From db5e36b2b6d2854c8c928a605c8f46b52f37ce99 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 9 Dec 2014 11:34:59 -0500 Subject: [PATCH] Use gcdaa64.efi and make boot.iso on aarch64 (#1174475) Add iso creation and switch to using gcdaa64.efi instead of grubaa64.efi Signed-off-by: Peter Jones Signed-off-by: Brian C. Lane (cherry picked from commit 8f582846afad0a992bc86b83d4e1926bc28da3db) Resolves: rhbz#1174475 --- share/aarch64.tmpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/share/aarch64.tmpl b/share/aarch64.tmpl index 66af43f7..9f8c31cd 100644 --- a/share/aarch64.tmpl +++ b/share/aarch64.tmpl @@ -25,7 +25,7 @@ mkdir ${KERNELDIR} ## WHeeeeeeee, EFI. ## We could remove the basearch restriction someday.. <% efiargs=""; efigraft="" %> -%if exists("boot/efi/EFI/*/grubaa64.efi"): +%if exists("boot/efi/EFI/*/gcdaa64.efi"): <% efiarch = 'AA64' efigraft="EFI/BOOT={0}/EFI/BOOT".format(outroot) @@ -35,5 +35,12 @@ mkdir ${KERNELDIR} efigraft += " {0}={1}/{0}".format(img,outroot) %> <%include file="efi.tmpl" args="configdir=configdir, KERNELDIR=KERNELDIR, efiarch=efiarch, isolabel=isolabel"/> -%endif + ## make boot.iso + runcmd mkisofs -o ${outroot}/images/boot.iso \ + ${efiargs} -R -J -V '${isolabel}' -T -graft-points \ + ${KERNELDIR}=${outroot}/${KERNELDIR} \ + ${LIVEDIR}=${outroot}/${LIVEDIR} \ + ${efigraft} ${imggraft} + treeinfo images-${basearch} boot.iso images/boot.iso +%endif