Gentoo Archives: gentoo-catalyst

From: Kevin Zhao <kevin.zhaoshuai@×××××.com>
To: gentoo-catalyst@l.g.o
Cc: kevin.zhaoshuai@×××××.com
Subject: [gentoo-catalyst][PATCH v1 2/3] Modify the create iso parameter of ppc64le and power8
Date: Wed, 16 Dec 2015 16:41:46
Message-Id: 1450284067-13049-1-git-send-email-kevin.zhaoshuai@gmail.com
1 Modify the parameter of ppc64le and power8, because the
2 ppc64 little-endian has different archtecture and new
3 boot parameters.Don't need the hfs and mapping files
4 as it in Big-endian.
5
6 Signed-off-by: Kevin Zhao <kevin.zhaoshuai@×××××.com>
7 ---
8 targets/support/create-iso.sh | 7 ++++++-
9 1 file changed, 6 insertions(+), 1 deletion(-)
10
11 diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
12 index b4077c3..8bdb15a 100755
13 --- a/targets/support/create-iso.sh
14 +++ b/targets/support/create-iso.sh
15 @@ -212,7 +212,12 @@ case ${clst_hostarch} in
16 fi
17
18 echo ">> Running mkisofs to create iso image...."
19 - 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}"/
20 + if [ "${clst_subarch}" == "ppc64le" ]||[ "${clst_subarch}" == "power8" ]
21 + then
22 + run_mkisofs -v -r -T -U -l -cache-inodes -chrp-boot -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"
23 + else
24 + 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}"/
25 + fi
26 ;;
27 sparc*)
28 # Old silo (<=1.2.6) requires a specially built mkisofs
29 --
30 2.1.0

Replies