# Copyright 2002-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2
+ 26 Dec 2008; Andrew Gaffney <agaffney@gentoo.org>
+ modules/generic_stage_target.py:
+ Apply patch from armin76 to actually make use of the busybox_config value
+ in the spec
+
24 Dec 2008; Andrew Gaffney <agaffney@gentoo.org>
targets/netboot2/netboot2-controller.sh, targets/support/kmerge.sh:
Add support for gk's --busybox-config= option
self.set_packages()
self.set_rm()
self.set_linuxrc()
+ self.set_busybox_config()
self.set_overlay()
self.set_portage_overlay()
self.set_root_overlay()
self.settings[self.settings["spec_prefix"]+"/linuxrc"]
del self.settings[self.settings["spec_prefix"]+"/linuxrc"]
+ def set_busybox_config(self):
+ if self.settings.has_key(self.settings["spec_prefix"]+"/busybox_config"):
+ if type(self.settings[self.settings["spec_prefix"]+\
+ "/busybox_config"])==types.StringType:
+ self.settings["busybox_config"]=\
+ self.settings[self.settings["spec_prefix"]+"/busybox_config"]
+ del self.settings[self.settings["spec_prefix"]+"/busybox_config"]
+
def set_portage_overlay(self):
if self.settings.has_key("portage_overlay"):
if type(self.settings["portage_overlay"])==types.StringType: