# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 06 Sep 2007; Andrew Gaffney <agaffney@gentoo.org>
+ examples/netboot_template.spec, examples/tinderbox_template.spec,
+ modules/grp_target.py, modules/tinderbox_target.py:
+ remove redundant set_pkgcache_path() functions from tinderbox and grp modules
+ remove extra pkgcache_path and kerncache_path options from example specs
+
31 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> catalyst:
This is catalyst 2.0.5_pre3 for testing the new stages code.
# netboot/extra_files: /lib/libresolv.so.2 /lib/libnss_compat.so.2 /lib/libnss_dns.so.2 /lib/libnss_files.so.2 /sbin/consoletype
netboot/extra_files:
-# Setting the option overrides the location of the pkgcache
-pkgcache_path:
-
-# Setting the option overrides the location of the kerncache
-kerncache_path:
-
# tinderbox/packages: dante tsocks sys-apps/eject minicom links acpid apmd parted whois tcpdump cvs zip unzip netcat partimage app-admin/sudo app-cdr/cdrtools gnome emacs dev-lang/ruby enlightenment kde mozilla-firefox mozilla-thunderbird xfce4 openbox fluxbox sylpheed openoffice-bin gimp xemacs xmms abiword gaim xchat pan tetex xcdroast k3b samba nmap gradm ettercap ethereal mplayer
tinderbox/packages:
-# Setting the option overrides the location of the pkgcache
-pkgcache_path:
-
# Setting the option overrides the location of the kerncache
kerncache_path:
self.unbind()
raise CatalystError,"GRP build aborting due to error."
- def set_pkgcache_path(self):
- if self.settings.has_key("pkgcache_path"):
- if type(self.settings["pkgcache_path"]) != types.StringType:
- self.settings["pkgcache_path"]=normpath(string.join(self.settings["pkgcache_path"]))
- else:
- generic_stage_target.set_pkgcache_path(self)
-
def set_use(self):
generic_stage_target.set_use(self)
if self.settings.has_key("use"):
self.unbind()
raise CatalystError,"Tinderbox aborting due to error."
- def set_pkgcache_path(self):
- if self.settings.has_key("pkgcache_path"):
- if type(self.settings["pkgcache_path"]) != types.StringType:
- self.settings["pkgcache_path"]=normpath(string.join(self.settings["pkgcache_path"]))
- else:
- generic_stage_target.set_pkgcache_path(self)
-
def set_cleanables(self):
self.settings["cleanables"]=["/etc/resolv.conf","/var/tmp/*","/root/*",\
"/usr/portage"]