Gentoo Archives: gentoo-catalyst

From: Kevin Zhao <kevin.zhaoshuai@×××××.com>
To: gentoo-catalyst@l.g.o
Cc: Kevin Zhao <kevin.zhaoshuai@×××××.com>
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, 08 Jan 2016 10:05:15
Message-Id: 1452247450-14865-1-git-send-email-kevin.zhaoshuai@gmail.com
1 Signed-off-by: Kevin Zhao <kevin.zhaoshuai@×××××.com>
2 ---
3 targets/support/create-iso.sh | 16 +++++++++++++++-
4 1 file changed, 15 insertions(+), 1 deletion(-)
5
6 diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
7 index b4077c3..2e604db 100755
8 --- a/targets/support/create-iso.sh
9 +++ b/targets/support/create-iso.sh
10 @@ -211,8 +211,22 @@ case ${clst_hostarch} in
11 "${clst_target_path}/ppc/bootinfo.txt"
12 fi
13
14 + flags=( -r -U )
15 echo ">> Running mkisofs to create iso image...."
16 - 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}"/
17 + if echo ${clst_subarch} | grep -qE ".+le$"
18 + then
19 + flags+=(
20 + -v -T -l -cache-inodes -chrp-boot
21 + )
22 + else
23 + flags+=(
24 + -chrp-boot -netatalk -hfs -probe -map "${clst_target_path}"/boot/map.hfs \
25 + -part -no-desktop -hfs-volid "${clst_iso_volume_id}" -hfs-bless "${clst_target_path}"/boot -hide-hfs \
26 + "zisofs" -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" -J ${mkisofs_zisofs_opts}
27 + )
28 + fi
29 + run_mkisofs "${flags[@]}" \
30 + -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"
31 ;;
32 sparc*)
33 # Old silo (<=1.2.6) requires a specially built mkisofs
34 --
35 2.1.0

Replies