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 833221388BF for ; Fri, 8 Jan 2016 19:50:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A7C2E0845; Fri, 8 Jan 2016 19:50:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37428E0845 for ; Fri, 8 Jan 2016 19:50:43 +0000 (UTC) Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id A0DD634090B; Fri, 8 Jan 2016 19:50:42 +0000 (UTC) Date: Fri, 8 Jan 2016 14:50:42 -0500 From: Mike Frysinger To: gentoo-catalyst@lists.gentoo.org Cc: Kevin Zhao Subject: Re: [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. Message-ID: <20160108195042.GM25548@vapier.lan> Mail-Followup-To: gentoo-catalyst@lists.gentoo.org, Kevin Zhao References: <1452247437-14820-1-git-send-email-kevin.zhaoshuai@gmail.com> <1452247450-14865-1-git-send-email-kevin.zhaoshuai@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 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kZxC0s2ORSstvtHP" Content-Disposition: inline In-Reply-To: <1452247450-14865-1-git-send-email-kevin.zhaoshuai@gmail.com> X-Archives-Salt: 4a297a3f-0e09-43fa-9864-af51f4c05059 X-Archives-Hash: d68b2d7e9997ebb6b8257e54827a7000 --kZxC0s2ORSstvtHP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 08 Jan 2016 05:04, Kevin Zhao wrote: > + if echo ${clst_subarch} | grep -qE ".+le$" just use a pattern match: if [[ ${clst_subarch} =3D=3D *le ]] > + then > + flags+=3D( > + -v -T -l -cache-inodes -chrp-boot > + ) -chrp-boot shows up in both, so factor that out into the common setting ? > + flags+=3D( > + -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map= =2Ehfs \=20 you don't need to use \ with arrays -mike --kZxC0s2ORSstvtHP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWkBMSAAoJEEFjO5/oN/WB2pUP/jvfTYPdPuOSqwiCqCOZYtyf PzSBKT5AuONu6r1Kpmc9+8aMkcB1NPDsRdOcm56hbLNJOO3Dbg619HRLFR6gSZtu XhzwNQttfrS8SUdbPVY1nh34Ebte8P9+rspVqja+AJIKBH14U9ZxkaG8p46YUnD6 Rjg5UFfJgaymC5RrVvfLdRgJiWr02h7e5nku85X7HNENBeijy71ckajufLoQWM22 9om8Xc7ZlplPPkF0jkV7ch4tTbLqH+0gEU/2aDFhTnK+FosLljQ9uts/DIjwvCFj FWHSVr9a4Dnu2mygWevM2VbGrRqzabuMF2eujCDynbzbEOuw8rKocLHIuHgDC/mi H07ys7xSZJQ5S19O+8i1qcmUq2TSpDMJrVJyEmVn94RgFBQfg2EIfvyEtsSzsC1O JpJgyedjXxVGOuAk9xh89jmXTu20pdThKVvoDlh/+gvsZi83JbWwT+yLjsaMgjQO vq8xjqnEtVClG4ZA5zAIvTMAY8JPp2ThG3bW2GxzwG+sWGs2IB8ovJHmbqThSfMT cai8zIPZSHSBaNBr6m2YtTB+rrj+PfeNu/GBEukkWbVvjVZ+HmRpRS23XO9HofiQ SN/03bAnjs5hpP7cPpz2ssvEBQQSdXi2LsiL+kK5bC/T6X7FEEUveU137jY5/If+ NdRUbQMPcmxHZE7vD8uu =7LKw -----END PGP SIGNATURE----- --kZxC0s2ORSstvtHP--