some livecd fixes -- hopefully won't break anything else
authorDaniel Robbins <drobbins@gentoo.org>
Tue, 23 Dec 2003 06:53:11 +0000 (06:53 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Tue, 23 Dec 2003 06:53:11 +0000 (06:53 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@110 d1e1f19c-881f-0410-ab34-b69fee027534

modules/targets.py

index a4f43e2efc1e9be5f4a863857bb5d0cd38209f6a..39ce64c41d7b543fb27325455e701266948ed9eb 100644 (file)
@@ -292,10 +292,10 @@ class generic_stage_target(generic_target):
                                raise CatalystError,"Tinderbox aborting due to error."
                else:
                        raise CatalystError,"You shouldn't get to this point. Target not recognized."
-               if self.settings["target"] not in ["grp","tinderbox"]:
+               if self.settings["target"] in ["stage1","stage2","stage3"]:
                        self.preclean()
                self.unbind()
-               if self.settings["target"] not in ["grp","tinderbox"]:
+               if self.settings["target"] in ["stage1","stage2","stage3"]:
                        #clean is for removing things after bind-mounts are unmounted (general file removal and cleanup)
                        self.clean()
                        self.capture()