From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-catalyst+bounces-3418-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6BCC41384B4 for <garchives@archives.gentoo.org>; Wed, 16 Dec 2015 16:41:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E18D21C01D; Wed, 16 Dec 2015 16:41:43 +0000 (UTC) Received: from mail-qk0-f179.google.com (mail-qk0-f179.google.com [209.85.220.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E681321C01D for <gentoo-catalyst@lists.gentoo.org>; Wed, 16 Dec 2015 16:41:42 +0000 (UTC) Received: by mail-qk0-f179.google.com with SMTP id p187so72485236qkd.1 for <gentoo-catalyst@lists.gentoo.org>; Wed, 16 Dec 2015 08:41:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LZQfa7Mu42ovYiB6pRA0d70JtJd8dCfjLKP3FX0N8Lg=; b=yQt64W2IVzwOF/MmTaQhqnZ8CIUsJtBBx8fGU02xXxBM+NO9O/SnUDMEl12Av6bbfl oAnp/SCFwdNWeO05S7zEqvbZ9zBQbw4MZ5fd5mmo0CBRC0n47lCcegcOhA5FafnbHYhB CbwclBv1yX8n5RElk0O43QU4D6VQzpF5wnmDbISoIB1CwTy9B34HwxXEkSCcLxhPg5Gh YrBYE/UmyPW0A0Ce62R+k8efO8assEhTfmhR9Gumw5YgfkPCm4Lbf/8bbv17CkU+d9Gi 5utyS0SKXETgHZY8K1WOult+ApBU+r7RhOX9GXwruSldN9vvULuSuaUFax2C1hErmp4v 1Z2w== X-Received: by 10.129.135.7 with SMTP id x7mr27225830ywf.95.1450284102361; Wed, 16 Dec 2015 08:41:42 -0800 (PST) Received: from p006vm30.pbm.ihost.com (used3.centers.ihost.com. [32.97.185.24]) by smtp.gmail.com with ESMTPSA id f67sm5425234ywe.37.2015.12.16.08.41.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Dec 2015 08:41:41 -0800 (PST) From: Kevin Zhao <kevin.zhaoshuai@gmail.com> To: gentoo-catalyst@lists.gentoo.org Cc: kevin.zhaoshuai@gmail.com Subject: [gentoo-catalyst][PATCH v1 2/3] Modify the create iso parameter of ppc64le and power8 Date: Wed, 16 Dec 2015 11:41:07 -0500 Message-Id: <1450284067-13049-1-git-send-email-kevin.zhaoshuai@gmail.com> X-Mailer: git-send-email 2.1.0 Precedence: bulk List-Post: <mailto:gentoo-catalyst@lists.gentoo.org> List-Help: <mailto:gentoo-catalyst+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-catalyst+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-catalyst+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-catalyst.gentoo.org> X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: 030d5ea8-d617-46ba-a720-bb3764a2278b X-Archives-Hash: 766798a56f6560176ce66db2e2243f93 Modify the parameter of ppc64le and power8, because the ppc64 little-endian has different archtecture and new boot parameters.Don't need the hfs and mapping files as it in Big-endian. Signed-off-by: Kevin Zhao <kevin.zhaoshuai@gmail.com> --- targets/support/create-iso.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index b4077c3..8bdb15a 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -212,7 +212,12 @@ case ${clst_hostarch} in fi echo ">> Running mkisofs to create iso image...." - run_mkisofs -r -U -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs -part -no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot -hide-hfs "zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"/ + if [ "${clst_subarch}" == "ppc64le" ]||[ "${clst_subarch}" == "power8" ] + then + run_mkisofs -v -r -T -U -l -cache-inodes -chrp-boot -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}" + else + run_mkisofs -r -U -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs -part -no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot -hide-hfs "zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"/ + fi ;; sparc*) # Old silo (<=1.2.6) requires a specially built mkisofs -- 2.1.0