[lorax-rhel7] Use gcdaa64.efi and make boot.iso on aarch64 (#1174475)
Brian C. Lane
bcl at redhat.com
Tue Jan 13 16:56:28 UTC 2015
From: Peter Jones <pjones at redhat.com>
Add iso creation and switch to using gcdaa64.efi instead of grubaa64.efi
Signed-off-by: Peter Jones <pjones at redhat.com>
Signed-off-by: Brian C. Lane <bcl at redhat.com>
(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 66af43f..9f8c31c 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
--
1.9.3
More information about the anaconda-patches
mailing list