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 E1B161381F3 for ; Thu, 21 Apr 2016 04:43:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 567C321C038; Thu, 21 Apr 2016 04:43:15 +0000 (UTC) Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02B3721C038 for ; Thu, 21 Apr 2016 04:43:14 +0000 (UTC) Received: by mail-qk0-f195.google.com with SMTP id i7so3326895qkd.1 for ; Wed, 20 Apr 2016 21:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SyqQn7gwAAPJ3QCCEeZv5hwkMt9l8tHhJkn5rbgGGx4=; b=iHtq1TWFEdjbakTyskQGaLWxaxTQASiK3cINoltrtb/sR9KjsU+Vk2enhW6EvUN69m 3EMY+NjxoVZ2j83QSZxglEF+9OXVxMMla0vOm0qsIpRXb6hzMzsylaQm7fCyLabl+Tu3 w9MyF6WwQqsxecdmA/BuKjT1wqobqg6GSop2l2LKpGAICLVFRc8eyl4VaV2g/cC5UpcP P/0lxwEML1bBjzLzMHkZPvxgxwq7q+RR3TlTk2mGszixYi2vwE+l4XJIqkoeXqOd5Pb/ /MH0ST8teJDfXajL4D9OEXiEI7zepF2onUov+WJFoXHLuBOKCdjqIDvleLfJVj1/AA2+ bQSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SyqQn7gwAAPJ3QCCEeZv5hwkMt9l8tHhJkn5rbgGGx4=; b=DYous6hzYT1GM4aYVB73btAq0aCW23ur5yjTjYqHq9VgHc31BMn4oTQF4px8exHVY2 vRSBt1o0MX+mV951orIcgeRH+Ye4bUhScg6CYu8ysYrGML1UlyspcIjol/mBYk/bwarB h4L9VN8PZhs7gnZjgPov6PYWjTaWwwSONDVVND/hR4Y0wR9jnDkK/IPBviTNLsOG0uvB jcQgOuVaywmb1enGnIK/yGRbN/rAO1bI0+YJFExomD0cfpto0SKsp9lzaQRsbgoDw4tl mPMt7iSjS1t1gl0CDIWFfsD3DM+Ee3B2uqYUVOjmlfQo4/To7Unh4usyxlXzq7K4iVtB BgtQ== X-Gm-Message-State: AOPr4FW1TVQj7u/dFYtkxRJYmAKjdvPgQf55osOujE5R7ntjaU+tkb6isiiCCXls5FJUfg== X-Received: by 10.55.55.138 with SMTP id e132mr16711678qka.11.1461213794370; Wed, 20 Apr 2016 21:43:14 -0700 (PDT) Received: from localhost.localdomain (bi-03pt2.bluebird.ibm.com. [129.42.208.173]) by smtp.gmail.com with ESMTPSA id x202sm352682qhx.30.2016.04.20.21.43.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Apr 2016 21:43:13 -0700 (PDT) From: Leno Hou To: gentoo-catalyst@lists.gentoo.org Cc: blueness@gentoo.org, Kevin Zhao , Mike Frysinger , Leno Hou Subject: [gentoo-catalyst][PATCH V3 2/3] create-iso: modify the mkisofs parameter of ppc64 little-endian. Date: Thu, 21 Apr 2016 00:42:46 -0400 Message-Id: <1461213767-32257-2-git-send-email-lenohou@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1461213767-32257-1-git-send-email-lenohou@gmail.com> References: <1461213767-32257-1-git-send-email-lenohou@gmail.com> 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: e835224c-d364-4c6c-bf99-f7a45b31e162 X-Archives-Hash: 06c8b3f0a6f7e7eff9b01fd72cfa387b From: Kevin Zhao 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. Signed-off-by: Kevin Zhao CC: Mike Frysinger CC: Leno Hou --- 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..f45dd7d 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 -chrp-boot ) 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} == *le ]] + then + flags+=( + -v -T -l -cache-inodes + ) + else + flags+=( + -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.4