From c5325eb010d4a7da32d850ceba563c06b573921c Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 6 Dec 2021 16:13:27 -0800 Subject: [PATCH] mkksiso: Skip mkefiboot for non-UEFI isos Related: rhbz#2028104 --- src/sbin/mkksiso | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sbin/mkksiso b/src/sbin/mkksiso index 19a4a3c8..4fed985b 100755 --- a/src/sbin/mkksiso +++ b/src/sbin/mkksiso @@ -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)