From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 96CDB1388BF for ; Fri, 8 Jan 2016 10:05:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 192C821C012; Fri, 8 Jan 2016 10:05:15 +0000 (UTC) Received: from mail-pa0-f66.google.com (mail-pa0-f66.google.com [209.85.220.66]) (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 A5B3521C012 for ; Fri, 8 Jan 2016 10:05:14 +0000 (UTC) Received: by mail-pa0-f66.google.com with SMTP id gi1so28694734pac.2 for ; Fri, 08 Jan 2016 02:05:14 -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=87PJEwj0RqT5j2xMLINOGHiFDi97PoBIx4uIUJeGU/s=; b=xTgTNRqhjVrVRQnezD2sfwfyQ7+BuqhYZzX13w1hQmA+ADUEmTzpng2KCGuJL5h/Bw jm0PRVHiUBS1FqNAL3QhIF45kROQAZHceBdUcAeIrp075qol0fNj0tyl+MD4dJAMnq3L 9R7QvloTFeOLrcF8YlRic7FVjc8EdeUHenJYPHbnSM8Y8JroD6EBfiGumEoTP8Ea3g14 eImujq9GcPIL0pSCbkSREwK/rOYuVJrtiluF1bQ1yCcY+7KhGW+pnapSD1JfvGdyltny LtYSlbO8RvqCieGT3kaRtmMs5nF0vw9S34SuUVBy8EcFesaJEAfTtaWxpmXoLP2aHwup k1oQ== X-Received: by 10.66.122.36 with SMTP id lp4mr147796043pab.31.1452247513943; Fri, 08 Jan 2016 02:05:13 -0800 (PST) Received: from p006vm30.pbm.ihost.com (used3.centers.ihost.com. [32.97.185.24]) by smtp.gmail.com with ESMTPSA id c90sm3549182pfd.31.2016.01.08.02.05.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jan 2016 02:05:12 -0800 (PST) From: Kevin Zhao To: gentoo-catalyst@lists.gentoo.org Cc: Kevin Zhao Subject: [gentoo-catalyst][PATCH 2/3] Modify the parameter of ppc64 little-endian, 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.Also tweak the code of Big-endian. Date: Fri, 8 Jan 2016 05:04:10 -0500 Message-Id: <1452247450-14865-1-git-send-email-kevin.zhaoshuai@gmail.com> X-Mailer: git-send-email 2.1.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: 267bd86f-336b-489b-9ff8-ad460ee8444c X-Archives-Hash: 6b9dd6745ebe02a538738343a24d6e05 Signed-off-by: Kevin Zhao --- targets/support/create-iso.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index b4077c3..2e604db 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -211,8 +211,22 @@ case ${clst_hostarch} in "${clst_target_path}/ppc/bootinfo.txt" fi + flags=( -r -U ) 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 echo ${clst_subarch} | grep -qE ".+le$" + then + flags+=( + -v -T -l -cache-inodes -chrp-boot + ) + else + flags+=( + -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} + ) + fi + run_mkisofs "${flags[@]}" \ + -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}" ;; sparc*) # Old silo (<=1.2.6) requires a specially built mkisofs -- 2.1.0