# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.307 2005/07/12 21:48:32 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.308 2005/07/19 21:44:14 rocket Exp $
+
+ 19 Jul 2005; Eric Edgar <rocket@gentoo.org> modules/grp_target.py:
+ Fix grp so that grp/use is not required anymore
12 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org>
-livecd/cdtar/isolinux-2.11-cdtar.tar.bz2,
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/grp_target.py,v 1.12 2005/07/07 19:57:17 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/grp_target.py,v 1.13 2005/07/19 21:44:14 rocket Exp $
"""
The builder class for GRP (Gentoo Reference Platform) builds.
if not addlargs.has_key("grp"):
raise CatalystError,"Required value \"grp\" not specified in spec."
- self.required_values.extend(["grp","grp/use"])
+ self.required_values.extend(["grp"])
if type(addlargs["grp"])==types.StringType:
addlargs["grp"]=[addlargs["grp"]]
-
- if type(addlargs["grp/use"])==types.StringType:
- addlargs["grp/use"]=[addlargs["grp/use"]]
+
+ if addlargs.has_key("grp/use"):
+ if type(addlargs["grp/use"])==types.StringType:
+ addlargs["grp/use"]=[addlargs["grp/use"]]
for x in addlargs["grp"]:
self.required_values.append("grp/"+x+"/packages")
generic_stage_target.set_use(self)
if self.settings.has_key("use"):
self.settings["use"].append("bindist")
+ else:
+ self.settings["use"]=["bindist"]
def set_mounts(self):
self.mounts.append("/tmp/grp")