mkksiso: Skip mkefiboot for non-UEFI isos

Resolves: rhbz#2028097
This commit is contained in:
Brian C. Lane 2021-12-06 16:13:27 -08:00
parent 236e1cab7a
commit c966f26d6d

View File

@ -445,6 +445,9 @@ class MakeKickstartISO():
os.unlink(os.path.join(src, f)) os.unlink(os.path.join(src, f))
def run_mkefiboot(self, isodir, tmpdir): def run_mkefiboot(self, isodir, tmpdir):
if self.efimode == NO_EFI:
return
self.mkefiboot.run(isodir, tmpdir) self.mkefiboot.run(isodir, tmpdir)
if self.efimode == MACBOOT: if self.efimode == MACBOOT:
self.mkmacboot.run(isodir, tmpdir) self.mkmacboot.run(isodir, tmpdir)