From d7a845c2d42f4bb3399dc43bf1d23a1983964945 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 4 Feb 2022 08:34:45 -0800 Subject: [PATCH] mkksiso: Fix check for unsupported arch error An unsupported arch isn't an error, just skip running MdCdbootImg on non-s390x systems. --- src/sbin/mkksiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/mkksiso b/src/sbin/mkksiso index 787d4c20..3ce5743a 100755 --- a/src/sbin/mkksiso +++ b/src/sbin/mkksiso @@ -515,7 +515,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)