def __init__(self,spec,addlargs):
self.required_values=[]
self.valid_values=["chost"]
+ self.valid_values.extend(["update_seed"])
generic_stage_target.__init__(self,spec,addlargs)
+ self.set_update_seed()
def set_stage_path(self):
self.settings["stage_path"]=normpath(self.settings["chroot_path"]+self.settings["root_path"])
self.mounts.append("/tmp/stage1root/proc")
self.mountmap["/tmp/stage1root/proc"]="/proc"
+ def set_update_seed(self):
+ if self.settings.has_key(self.settings["update_seed"]):
+ self.settings["update_seed_cache"]=self.settings["update_seed"]
def register(foo):
foo.update({"stage1":stage1_target})
run_merge "--oneshot --nodeps sys-apps/baselayout"
# Update stage3
-UPDATE_SEED_STAGE="yes"
+#UPDATE_SEED_STAGE="yes"
if [ -n ${UPDATE_SEED_STAGE} ]; then
echo "Updating seed stage..."
clst_root_path=/ run_merge "--update --deep --newuse @world"