[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lorax] Use --mac for isohybrid only if doing macboot images



---
 share/x86.tmpl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/x86.tmpl b/share/x86.tmpl
index db19bdf..023c1af 100644
--- a/share/x86.tmpl
+++ b/share/x86.tmpl
@@ -59,7 +59,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
     for img in images:
         efiargs += " -eltorito-alt-boot -e {0} -no-emul-boot".format(img)
         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"/>
 %endif
-- 
1.7.5.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]