# ChangeLog for gentoo/src/catalyst
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.132 2004/12/29 15:51:43 wolf31o2 Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.133 2005/01/02 04:15:51 zhen Exp $
+
+ 01 Jan 2005; John Davis <zhen@gentoo.org> catalyst,
+ examples/generic_stage_template.spec, modules/catalyst_support.py:
+ tweaking error handling in the main catalyst script
+ updated the example to include a blurb about portage_confdir
29 Dec 2004; Chris Gianelloni <wolf31o2@gentoo.org>
livecd/runscript-support/livecdfs-update.sh:
#!/usr/bin/python
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.55 2004/12/17 21:18:06 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.56 2005/01/02 04:15:51 zhen Exp $
# Maintained in full by John Davis <zhen@gentoo.org>
# everything is setup, so the build is a go
try:
build_target(addlargs, targetmap)
- except:
- print "!!! catalyst: could not complete build"
+
+ except CatalystError:
+ raise CatalystError,"Could not complete build"
sys.exit(2)
# example:
# default/stage3-x86-2004.1
source_subpath:
+
+# hosts used as distcc slaves (distcc required in options (catalyst.conf)
+# example:
+# distcc_hosts: 127.0.0.1 192.168.0.1
+
+# optional directory containing portage configuration files
+# example:
+# portage_confdir: /etc/portage
+# portage_confdir:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.33 2004/12/18 04:47:14 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.34 2005/01/02 04:15:51 zhen Exp $
import sys,string,os,types,re,traceback
print traceback.print_exc(file=sys.stdout)
print
print "!!! catalyst: "+message
+ print
def die(msg=None):
warn(msg)