public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-catalyst][PATCH v1 2/3] Modify the create iso parameter of ppc64le and power8
@ 2015-12-16 16:41 99% Kevin Zhao
  0 siblings, 0 replies; 1+ results
From: Kevin Zhao @ 2015-12-16 16:41 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: kevin.zhaoshuai

Modify the parameter of ppc64le and power8, 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.

Signed-off-by: Kevin Zhao <kevin.zhaoshuai@gmail.com>
---
 targets/support/create-iso.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index b4077c3..8bdb15a 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -212,7 +212,12 @@ case ${clst_hostarch} in
 		fi
 
 		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}" == "ppc64le" ]||[ "${clst_subarch}" == "power8" ]
+		then
+			run_mkisofs -v -r -T -U -l -cache-inodes -chrp-boot -V "${clst_iso_volume_id}" -o "${1}" "${clst_target_path}"
+		else
+			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}"/
+		fi
 	;;
 	sparc*)
 		# Old silo (<=1.2.6) requires a specially built mkisofs
-- 
2.1.0



^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-12-16 16:41 99% [gentoo-catalyst][PATCH v1 2/3] Modify the create iso parameter of ppc64le and power8 Kevin Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox