Use --mac for isohybrid only if doing macboot images
This commit is contained in:
parent
6f3d8b55f3
commit
a17746f69c
@ -59,7 +59,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
|
|||||||
for img in images:
|
for img in images:
|
||||||
efiargs += " -eltorito-alt-boot -e {0} -no-emul-boot".format(img)
|
efiargs += " -eltorito-alt-boot -e {0} -no-emul-boot".format(img)
|
||||||
efigraft += " {0}={1}/{0}".format(img,outroot)
|
efigraft += " {0}={1}/{0}".format(img,outroot)
|
||||||
efihybrid="--uefi --mac"
|
efihybrid = "--uefi --mac" if domacboot else "--uefi"
|
||||||
%>
|
%>
|
||||||
<%include file="efi.tmpl" args="configdir=configdir, KERNELDIR=KERNELDIR, efiarch=efiarch"/>
|
<%include file="efi.tmpl" args="configdir=configdir, KERNELDIR=KERNELDIR, efiarch=efiarch"/>
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user