From 071d11a8836c7da8730cdfd54531121a75bb4dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 20 Feb 2019 11:47:33 +0100 Subject: [PATCH 1/2] update iso creation for ppc64le MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't produce ISO image with Apple/HFS compatibility stuff on ppc64le. Signed-off-by: Dan HorĂ¡k --- pungi/wrappers/iso.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pungi/wrappers/iso.py b/pungi/wrappers/iso.py index 0b8afa2a..f059ccd9 100644 --- a/pungi/wrappers/iso.py +++ b/pungi/wrappers/iso.py @@ -63,7 +63,7 @@ def get_boot_options(arch, createfrom, efi=True): ] return result - if arch in ("ppc", "ppc64", "ppc64le"): + if arch in ("ppc", "ppc64"): result = [ '-part', '-hfs', @@ -78,6 +78,15 @@ def get_boot_options(arch, createfrom, efi=True): ] return result + if arch == "ppc64le": + result = [ + '-r', + '-l', + '-sysid', 'PPC', + '-chrp-boot', + ] + return result + if arch == "sparc": result = [ '-G', '/boot/isofs.b', -- 2.17.2