# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.25 2004/03/22 15:25:52 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.26 2004/03/23 07:20:34 zhen Exp $
+
+ 23 Mar 2004; John Davis <zhen@gentoo.org>
+ livecd/runscript/alpha-archscript.sh, livecd/runscript/hppa-archscript.sh,
+ livecd/runscript/ppc-archscript.sh, livecd/runscript/sparc64-archscript.sh,
+ livecd/runscript/x86-archscript.sh, modules/targets.py,
+ targets/livecd-stage3/unmerge.sh:
+ added "livecd/iso" to targets.py and fixed up the archscripts so that isos are
+ created at the end of the livecd-stage2 process.
22 Mar 2004; John Davis <zhen@gentoo.org> modules/targets.py,
targets/embedded/embedded.sh:
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2004/03/04 23:29:45 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/alpha-archscript.sh,v 1.2 2004/03/23 07:20:34 zhen Exp $
case $1 in
kernel)
iso)
# this is for the livecd-final target, and calls the proper
# command to build the iso file
- case $clst_livecd_cdfstype in
+ case ${clst_livecd_cdfstype} in
zisofs)
- mkisofs -J -R -l -z -o ${clst_iso_path} $clst_cdroot_path
+ mkisofs -J -R -l -z -o ${2} ${clst_cdroot_path}
;;
*)
- mkisofs -J -R -l -o ${clst_iso_path} $clst_cdroot_path
+ mkisofs -J -R -l -o ${2} ${clst_cdroot_path}
;;
esac
- isomarkboot $clst_iso_path /boot/bootlx
+ isomarkboot ${2} /boot/bootlx
;;
esac
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2004/03/07 12:29:47 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/hppa-archscript.sh,v 1.2 2004/03/23 07:20:34 zhen 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 -r -l -o ${clst_iso_path} $clst_cdroot_path
- palo -f boot/palo.conf -C ${clst_iso_path}
+ mkisofs -J -R -l -o ${2} ${clst_cdroot_path}
+ palo -f boot/palo.conf -C ${2}
;;
esac
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/ppc-archscript.sh,v 1.1 2004/03/04 23:29:45 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/ppc-archscript.sh,v 1.2 2004/03/23 07:20:34 zhen Exp $
case $1 in
kernel)
iso)
# The name of the iso should be retrieved from the specs. For now, asssume GentooPPC_2004.0
- mkisofs -J -r -netatalk -hfs -probe -map boot/map.hfs -part -no-desktop -hfs-volid GentooPPC_2004.0 -hfs-bless ./boot -o ${clst_iso_path} ${clst_cdroot_path}
+ mkisofs -J -r -netatalk -hfs -probe -map boot/map.hfs -part -no-desktop -hfs-volid GentooPPC_2004.0 -hfs-bless ./boot -o ${2} ${clst_cdroot_path}
;;
esac
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2004/03/04 23:29:45 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/sparc64-archscript.sh,v 1.2 2004/03/23 07:20:34 zhen 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 -z -o ${clst_iso_path} -G /boot/isofs.b -B ... \
- $clst_cdroot_path
+ mkisofs -J -R -l -z -o ${2} -G /boot/isofs.b -B ... ${clst_cdroot_path}
;;
esac
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2004/03/04 23:29:45 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/x86-archscript.sh,v 1.2 2004/03/23 07:20:34 zhen 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 ${clst_iso_path} -b isolinux/isolinux.bin -c isolinux/boot.cat \
- -no-emul-boot -boot-load-size 4 -boot-info-table $clst_cdroot_path
+ mkisofs -J -R -l -o ${2} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -z ${clst_cdroot_path}
;;
esac
# Distributed under the GNU General Public License version 2
# Copyright 2003-2004 Gentoo Technologies, Inc.
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.92 2004/03/22 15:25:52 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.93 2004/03/23 07:20:34 zhen Exp $
import os,string,imp,types,shutil
from catalyst_support import *
cmd("/bin/bash "+self.settings["sharedir"]+"/targets/livecd-stage1/livecd-stage1.sh run "+mypack)
except CatalystError:
self.unbind()
- raise CatalystError,"GRP build aborting due to error."
+ raise CatalystError,"LiveCD stage1 build aborting due to error."
class livecd_stage2_target(generic_stage_target):
def __init__(self,spec,addlargs):
- self.required_values=["boot/kernel","livecd/cdfstype","livecd/archscript","livecd/runscript"]
+ self.required_values=["boot/kernel","livecd/cdfstype","livecd/archscript","livecd/runscript","livecd/iso"]
self.valid_values=[]
if not addlargs.has_key("boot/kernel"):
raise CatalystError, "Required value boot/kernel not specified."
def cdroot_setup(self):
cmd("/bin/bash "+self.settings["livecd/runscript"]+" cdfs","cdfs runscript failed.")
- print "livecd-stage3: complete!"
+ cmd("/bin/bash "+self.settings["livecd/runscript"]+" iso "+self.settings["livecd/iso"],"iso runscript failed.")
+ print "livecd-stage2: complete!"
def run_local(self):
#first clean up any existing cdroot stuff
+++ /dev/null
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage3/Attic/unmerge.sh,v 1.1 2004/01/10 22:23:44 drobbins Exp $
-
-$clst_CHROOT $clst_chroot_path /bin/bash << EOF
- emerge -C $*
-EOF
-exit 0