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 b3876337c3
commit 223f1755ec

View File

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