mkksiso: Skip mkefiboot for non-UEFI isos
Resolves: rhbz#2028097
This commit is contained in:
parent
236e1cab7a
commit
c966f26d6d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user