# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.120 2004/12/12 16:32:06 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.121 2004/12/12 16:39:11 wolf31o2 Exp $
+
+ 12 Dec 2004; Chris Gianelloni <wolf31o2@gentoo.org>
+ livecd/runscript/alpha-archscript.sh, livecd/runscript/hppa-archscript.sh,
+ livecd/runscript/sparc-archscript.sh,
+ livecd/runscript/sparc64-archscript.sh,
+ livecd/runscript/x86-archscript.sh:
+ Added failures to all arches on mkisofs failure and also made -z option to
+ mkisofs optional on x86 depending on loop type used.
12 Dec 2004; Chris Gianelloni <wolf31o2@gentoo.org>
livecd/runscript/x86-archscript.sh:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/alpha-archscript.sh,v 1.5 2004/10/15 02:40:00 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/alpha-archscript.sh,v 1.6 2004/12/12 16:39:11 wolf31o2 Exp $
case $1 in
kernel)
# command to build the iso file
case ${clst_livecd_cdfstype} in
zisofs)
- mkisofs -J -R -l -z -o ${2} ${clst_cdroot_path}
+ mkisofs -J -R -l -z -o ${2} ${clst_cdroot_path} || die "Cannot make ISO image"
;;
*)
- mkisofs -J -R -l -o ${2} ${clst_cdroot_path}
+ mkisofs -J -R -l -o ${2} ${clst_cdroot_path} || die "Cannot make ISO image"
;;
esac
isomarkboot ${2} /boot/bootlx
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/hppa-archscript.sh,v 1.5 2004/10/15 02:40:00 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/hppa-archscript.sh,v 1.6 2004/12/12 16:39:11 wolf31o2 Exp $
case $1 in
kernel)
iso)
#this is for the livecd-stage2 target, and calls the proper command to build the iso file
- mkisofs -J -R -l -o ${2} ${clst_cdroot_path}
+ mkisofs -J -R -l -o ${2} ${clst_cdroot_path} || die "Cannot make ISO image"
palo -f boot/palo.conf -C ${2}
;;
esac
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc-archscript.sh,v 1.6 2004/10/21 17:06:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc-archscript.sh,v 1.7 2004/12/12 16:39:11 wolf31o2 Exp $
case $1 in
kernel)
iso)
# this is for the livecd-final target, and calls the proper
# command to build the iso file
- mkisofs -J -R -l -o ${2} -G ${clst_cdroot_path}/boot/isofs.b -B ... ${clst_cdroot_path}
+ mkisofs -J -R -l -o ${2} -G ${clst_cdroot_path}/boot/isofs.b -B ... ${clst_cdroot_path} || die "Cannot make ISO image"
;;
esac
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc64-archscript.sh,v 1.8 2004/10/29 21:14:59 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc64-archscript.sh,v 1.9 2004/12/12 16:39:11 wolf31o2 Exp $
case $1 in
kernel)
# Seems silo 1.3.x+ breaks on newer machines
# when booting from CD (current as of silo 1.4.8)
mv ${clst_cdroot_path}/boot/mkisofs.sparc.fu /tmp
- /tmp/mkisofs.sparc.fu -o ${2} -D -r -pad -quiet -S 'boot/cd.b' -B '/boot/second.b' -s '/boot/silo.conf' -abstract 'Gentoo Linux Sparc' -copyright 'Gentoo Foundation' -P 'Gentoo Linux Sparc' -p 'Gentoo Linux Sparc' -V 'Gentoo Linux Sparc 2004.3' -A 'Gentoo Linux Sparc' ${clst_cdroot_path}
+ /tmp/mkisofs.sparc.fu -o ${2} -D -r -pad -quiet -S 'boot/cd.b' -B '/boot/second.b' -s '/boot/silo.conf' -abstract 'Gentoo Linux Sparc' -copyright 'Gentoo Foundation' -P 'Gentoo Linux Sparc' -p 'Gentoo Linux Sparc' -V 'Gentoo Linux Sparc 2004.3' -A 'Gentoo Linux Sparc' ${clst_cdroot_path} || die "Cannot make ISO image"
rm /tmp/mkisofs.sparc.fu
;;
esac
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/x86-archscript.sh,v 1.17 2004/12/12 16:32:06 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/x86-archscript.sh,v 1.18 2004/12/12 16:39:11 wolf31o2 Exp $
case $1 in
kernel)
;;
iso)
- #this is for the livecd-stage2 target, and calls the proper command to build the iso file
- mkisofs -J -R -l -o ${2} -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-load-size 4 -boot-info-table -z ${clst_cdroot_path} || die "Cannot make ISO image"
+ #this is for the livecd-stage2 target, and calls the proper command
+ # to build the iso file
+ case ${clst_livecd_cdfstype} in
+ zisofs)
+ mkisofs -J -R -l -o ${2} -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-load-size 4 -boot-info-table -z ${clst_cdroot_path} || die "Cannot make ISO image"
+ ;;
+ *)
+ mkisofs -J -R -l -o ${2} -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-load-size 4 -boot-info-table ${clst_cdroot_path} || die "Cannot make ISO image"
+ ;;
+ esac
;;
esac