mkksiso: Fix check for unsupported arch error

An unsupported arch isn't an error, just skip running MdCdbootImg on
non-s390x systems.

Related: rhbz#2049192
This commit is contained in:
Brian C. Lane 2022-02-04 08:34:45 -08:00
parent 91c34c195a
commit 66ce35d9b8
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class MakeKickstartISO():
t = MkCdbootImg()
except RuntimeError as e:
# This is expected on everything except s390x
if "not supported" in str(e):
if "does not support" in str(e):
return
raise
t.run(isodir, tmpdir)