mkksiso: Skip mkefiboot for non-UEFI isos
Resolves: rhbz#2028097
This commit is contained in:
parent
b3876337c3
commit
223f1755ec
@ -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