mkksiso: Fix check for unsupported arch error
An unsupported arch isn't an error, just skip running MdCdbootImg on non-s390x systems. Related: rhbz#2049205
This commit is contained in:
parent
241f84741a
commit
680064789e
@ -515,7 +515,7 @@ class MakeKickstartISO():
|
|||||||
t = MkCdbootImg()
|
t = MkCdbootImg()
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
# This is expected on everything except s390x
|
# This is expected on everything except s390x
|
||||||
if "not supported" in str(e):
|
if "does not support" in str(e):
|
||||||
return
|
return
|
||||||
raise
|
raise
|
||||||
t.run(isodir, tmpdir)
|
t.run(isodir, tmpdir)
|
||||||
|
Loading…
Reference in New Issue
Block a user