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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux