# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.565 2006/02/09 00:46:11 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.566 2006/02/09 12:16:03 rocket Exp $
+
+ 09 Feb 2006; Eric Edgar <rocket@gentoo.org> targets/support/create-iso.sh:
+ Add hfs-hide options to mkisofs so macs boot
09 Feb 2006; Eric Edgar <rocket@gentoo.org>
modules/generic_stage_target.py:
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/create-iso.sh,v 1.28 2006/02/03 22:39:47 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/create-iso.sh,v 1.29 2006/02/09 12:16:03 rocket Exp $
. ${clst_sharedir}/targets/support/functions.sh
. ${clst_sharedir}/targets/support/filesystem-functions.sh
case ${clst_fstype} in
zisofs)
echo "Running mkisofs to create iso image...."
- echo "mkisofs -J -r -U -z -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 -V \"${clst_iso_volume_id}\" -o \
- ${1} ${clst_target_path}"
+ echo "mkisofs -J -r -U -z -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\" -V \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
mkisofs -J -r -U -z -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 -V "${clst_iso_volume_id}" -o \
+ ${clst_target_path}boot -hide-hfs "zisofs" -hide-hfs "stages" \
+ -hide-hfs "distfiles" -hide-hfs "snapshots" \
+ -V "${clst_iso_volume_id}" -o \
${1} ${clst_target_path} || die "Cannot make ISO image"
;;
*)
echo "mkisofs -J -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 -V \"${clst_iso_volume_id}\" -o \
- ${1} ${clst_target_path}"
+ ${clst_target_path}boot -V \"${clst_iso_volume_id}\" \
+ -hide-hfs \"stages\" -hide-hfs \"distfiles\" -hide-hfs \"snapshots\" \
+ -hide-hfs \"image.loop\" -hide-hfs \"image.squashfs\" -hide-hfs \"image.jffs\" \
+ -hide-hfs \"image.cramfs\" \
+ -o ${1} ${clst_target_path}"
mkisofs -J -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 -V "${clst_iso_volume_id}" -o \
- ${1} ${clst_target_path} || die "Cannot make ISO image"
+ ${clst_target_path}boot -V "${clst_iso_volume_id}" \
+ -hide-hfs "stages" -hide-hfs "distfiles" -hide-hfs "snapshots" \
+ -hide-hfs "image.loop" -hide-hfs "image.squashfs" -hide-hfs "image.jffs" \
+ -hide-hfs "image.cramfs" \
+ -o ${1} ${clst_target_path} || die "Cannot make ISO image"
;;
esac
;;