# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 25 Nov 2007; Andrew Gaffney <agaffney@gentoo.org>
+ modules/stage1_target.py, modules/stage2_target.py,
+ modules/stage3_target.py:
+ add /etc/portage to cleanables for stage 1-3
+
17 Nov 2007; Andrew Gaffney <agaffney@gentoo.org>
livecd/files/livecd-local.start,
targets/livecd-stage2/livecd-stage2-controller.sh,
"/usr/lib/python2.2/lib-tk", "/usr/lib/python2.3/test",\
"/usr/lib/python2.3/email", "/usr/lib/python2.3/lib-tk",\
"/usr/lib/python2.4/test", "/usr/lib/python2.4/email",\
- "/usr/lib/python2.4/lib-tk", "/usr/share/zoneinfo"])
+ "/usr/lib/python2.4/lib-tk", "/usr/share/zoneinfo",\
+ "/etc/portage"])
# XXX: How do these override_foo() functions differ from the ones in generic_stage_target and why aren't they in stage3_target?
# XXX: How do these override_foo() functions differ from the ones in
# generic_stage_target and why aren't they in stage3_target?
+
+ def set_cleanables(self):
+ generic_stage_target.set_cleanables(self)
+ self.settings["cleanables"].extend(["/etc/portage"])
def override_chost(self):
if self.settings.has_key("chost"):
print "\tIf you break it, you buy it. Don't complain to us about it."
print "\tDont say we did not warn you\n"
+ def set_cleanables(self):
+ generic_stage_target.set_cleanables(self)
+ self.settings["cleanables"].extend(["/etc/portage"])
+
def register(foo):
foo.update({"stage3":stage3_target})
return foo