# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.233 2005/04/21 14:40:43 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.234 2005/04/21 14:45:09 rocket Exp $
+
+ 21 Apr 2005; Eric Edgar <rocket@gentoo.org> catalyst,
+ modules/catalyst_support.py, modules/generic_stage_target.py,
+ modules/livecd_stage1_target.py:
+ only append livecd-tools to the livecd-stage1 target package list and move a
+ check out of the way so command line and spec files can co-exist
21 Apr 2005; Eric Edgar <rocket@gentoo.org>
modules/generic_stage_target.py:
#!/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.72 2005/04/07 23:02:20 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.73 2005/04/21 14:45:09 rocket Exp $
# Maintained in full by:
# Eric Edgar <rocket@gentoo.org>
if mycmdline:
addlargs.update(do_cli(mycmdline))
+ if not addlargs.has_key("target"):
+ raise CatalystError, "Required value \"target\" not specified."
+
# everything is setup, so the build is a go
try:
build_target(addlargs, targetmap)
# 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.39 2005/04/21 14:23:11 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.40 2005/04/21 14:45:09 rocket Exp $
import sys,string,os,types,re,signal,traceback,md5
# a function to turn a string of non-printable characters into a string of
else:
mydict[foo[0]]=foo[1]
- if not mydict.has_key("target"):
- raise CatalystError, "Required value \"target\" not specified."
-
# if all is well, we should return (we should have bailed before here if not)
return mydict
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.34 2005/04/21 14:31:51 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.35 2005/04/21 14:45:09 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
pass
def set_packages(self):
- if self.settings.has_key("iso"):
- self.settings[self.settings["spec_prefix"]+"/packages"].append("livecd-tools")
+ pass
def set_root_path(self):
# ROOT= variable for emerges
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage1_target.py,v 1.10 2005/04/21 14:23:11 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage1_target.py,v 1.11 2005/04/21 14:45:09 rocket Exp $
"""
Builder class for LiveCD stage1.
def set_spec_prefix(self):
self.settings["spec_prefix"]="livecd"
+
+ def set_packages(self):
+ generic_stage_target.set_packages(self)
+ if self.settings.has_key(self.settings["spec_prefix"]+"/packages"):
+ self.settings[self.settings["spec_prefix"]+"/packages"].append("livecd-tools")
+
def register(foo):
foo.update({"livecd-stage1":livecd_stage1_target})
return foo