Gentoo Archives: gentoo-catalyst

From: Mike Frysinger <vapier@g.o>
To: gentoo-catalyst@l.g.o
Cc: Kevin Zhao <kevin.zhaoshuai@×××××.com>
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.
Date: Fri, 08 Jan 2016 19:50:47
Message-Id: 20160108195042.GM25548@vapier.lan
In Reply to: [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. by Kevin Zhao
1 On 08 Jan 2016 05:04, Kevin Zhao wrote:
2 > + if echo ${clst_subarch} | grep -qE ".+le$"
3
4 just use a pattern match:
5 if [[ ${clst_subarch} == *le ]]
6
7 > + then
8 > + flags+=(
9 > + -v -T -l -cache-inodes -chrp-boot
10 > + )
11
12 -chrp-boot shows up in both, so factor that out into the common setting ?
13
14 > + flags+=(
15 > + -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs \
16
17 you don't need to use \ with arrays
18 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies