# Distributed under the GPL v2
# $Id$
+ 29 Nov 2009; Andrew Gaffney <agaffney@gentoo.org>
+ modules/catalyst/target/generic_stage.py:
+ Split up huge __init__() into startup and run-time init functions
+
28 Nov 2009; Andrew Gaffney <agaffney@gentoo.org>
modules/catalyst/target/__init__.py:
Add initial target buildplan logic
self.settings["crosscompile"]=(self.settings["hostarch"]!=\
self.settings["buildarch"])
+ def run_init(self):
+
""" Call arch constructor, pass our settings """
try:
self.arch=self.subarchmap[self.settings["subarch"]](self.settings)
def run(self):
self.chroot_lock.write_lock()
+ self.run_init()
+
""" Kill any pids in the chroot "" """
self.kill_chroot_pids()