Fixed up zisofs support. Waiting for response from sparc before touching their ISO...
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 28 Jun 2005 22:47:11 +0000 (22:47 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 28 Jun 2005 22:47:11 +0000 (22:47 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@723 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/create-iso.sh

index 4f9a98b6315e3687b94dedfd755f6118b7801181..f0625b06ce6c37d139a8970c20756d827dc88748 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.281 2005/06/28 17:32:35 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.282 2005/06/28 22:47:11 wolf31o2 Exp $
+
+  28 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/create-iso.sh:
+  Fixed up zisofs support. Waiting for response from sparc before touching
+  their ISO creation.
 
   28 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   modules/livecd_stage2_target.py, targets/support/bootloader-setup.sh,
index aa774e23d65ace8c6adfb2a2676c4df1ed57a2a5..f44ba32ff8d1de9f36ba5232f3e67a3e38796496 100755 (executable)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 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.5 2005/06/16 13:40:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/create-iso.sh,v 1.6 2005/06/28 22:47:11 wolf31o2 Exp $
 . ${clst_sharedir}/targets/support/functions.sh
 . ${clst_sharedir}/targets/support/filesystem-functions.sh
 #. ${clst_sharedir}/targets/${clst_target}/${clst_mainarch}-archscript.sh
@@ -85,13 +85,25 @@ case ${clst_mainarch} in
        arm)
        ;;
        hppa)
-               mkisofs -J -R -l -V "${clst_iso_volume_id}" -o  ${1} ${clst_target_path}  || die "Cannot make ISO image"
-               palo -f boot/palo.conf -C ${1}
+               case ${clst_livecd_cdfstype} in
+                       zisofs)
+                               mkisofs -J -R -l -z -V "${iso_volume_id}" -o ${2} ${clst_cdroot_path}  || die "Cannot make ISO image"
+                       ;;
+                       *)
+                               mkisofs -J -R -l -V "${iso_volume_id}" -o ${2} ${clst_cdroot_path}  || die "Cannot make ISO image"
+                       ;;
+               esac
+               palo -f boot/palo.conf -C ${2}
        ;;
        ppc*)
-               mkisofs -J -r -l -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"
+               case ${clst_livecd_cdfstype} in
+                       zisofs)
+                               mkisofs -J -r -l -z -chrp-boot -netatalk -hfs -probe -map ${clst_cdroot_path}/boot/map.hfs -part -no-desktop -hfs-volid "${iso_volume_id}" -hfs-bless ${clst_cdroot_path}/boot -V "${iso_volume_id}" -o ${2} ${clst_cdroot_path} || die "Cannot make ISO image"
+                       ;;
+                       *)
+                               mkisofs -J -r -l -chrp-boot -netatalk -hfs -probe -map ${clst_cdroot_path}/boot/map.hfs -part -no-desktop -hfs-volid "${iso_volume_id}" -hfs-bless ${clst_cdroot_path}/boot -V "${iso_volume_id}" -o ${2} ${clst_cdroot_path} || die "Cannot make ISO image"
+                       ;;
+               esac
        ;;
        sparc)
                # Old silo + patched mkisofs fubar magic
@@ -119,12 +131,10 @@ case ${clst_mainarch} in
                        
                        case ${clst_fstype} in
                                zisofs)
-                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-                                       -boot-load-size 4 -boot-info-table -z ${clst_target_path} || die "Cannot make ISO image"
+                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -z ${clst_target_path} || die "Cannot make ISO image"
                                ;;
                                *)
-                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-                                       -boot-load-size 4 -boot-info-table ${clst_target_path} || die "Cannot make ISO image"
+                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ${clst_target_path} || die "Cannot make ISO image"
                                ;;
                        esac
                elif [ -e ${clst_target_path}/boot/grub/stage2_eltorito ]
@@ -132,12 +142,10 @@ case ${clst_mainarch} in
                        echo "Creating ISO using GRUB bootloader"
                        case ${clst_fstype} in
                                zisofs)
-                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b boot/grub/stage2_eltorito -c boot/boot.cat -no-emul-boot \
-                                       -boot-load-size 4 -boot-info-table -z ${clst_target_path} || die "Cannot make ISO image"
+                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b boot/grub/stage2_eltorito -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -z ${clst_target_path} || die "Cannot make ISO image"
                                ;;
                                *)
-                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b boot/grub/stage2_eltorito -c boot/boot.cat -no-emul-boot \
-                                       -boot-load-size 4 -boot-info-table ${clst_target_path} || die "Cannot make ISO image"
+                                       mkisofs -J -R -l -V "${clst_iso_volume_id}" -o ${1} -b boot/grub/stage2_eltorito -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ${clst_target_path} || die "Cannot make ISO image"
                                ;;
                        esac
                else