livecd-stage1/* to livecd/*
authorDaniel Robbins <drobbins@gentoo.org>
Mon, 12 Jan 2004 05:57:50 +0000 (05:57 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Mon, 12 Jan 2004 05:57:50 +0000 (05:57 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@139 d1e1f19c-881f-0410-ab34-b69fee027534

modules/targets.py

index c5913fe3f9c23dd325cb097146b08229028007fd..f2020c90c2bddefa5118e80f37e2bbb08f7bd2c8 100644 (file)
@@ -209,7 +209,7 @@ class generic_stage_target(generic_target):
                elif self.settings["target"]=="tinderbox":
                        myusevars.extend(self.settings["tinderbox/use"])
                elif self.settings["target"]=="livecd-stage1":
-                       myusevars.extend(self.settings["livecd-stage1/use"])
+                       myusevars.extend(self.settings["livecd/use"])
                myf.write('USE="'+string.join(myusevars)+'"\n')
                if self.settings.has_key("CXXFLAGS"):
                        myf.write('CXXFLAGS="'+self.settings["CXXFLAGS"]+'"\n')
@@ -412,13 +412,13 @@ class tinderbox_target(generic_stage_target):
 
 class livecd_stage1_target(generic_stage_target):
        def __init__(self,spec,addlargs):
-               self.required_values=["livecd-stage1/packages","livecd-stage1/use"]
+               self.required_values=["livecd/packages","livecd/use"]
                self.valid_values=self.required_values[:]
                generic_stage_target.__init__(self,spec,addlargs)
 
        def run_local(self):
                try:
-                       cmd("/bin/bash "+self.settings["sharedir"]+"/targets/livecd-stage1/livecd-stage1.sh run "+string.join(self.settings["livecd-stage1/packages"]))
+                       cmd("/bin/bash "+self.settings["sharedir"]+"/targets/livecd-stage1/livecd-stage1.sh run "+string.join(self.settings["livecd/packages"]))
                except CatalystError:
                        self.unbind()
                        raise CatalystError,"GRP build aborting due to error."