commit: 3090f4c0bf674b61a9e341855a9d41e946ec5a7f
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 16:45:29 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 17:08:30 2015 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3090f4c0
targets/grp.py: Remove the duped set_target_path()
catalyst/targets/grp.py | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/catalyst/targets/grp.py b/catalyst/targets/grp.py
index 0b38417..2707907 100644
--- a/catalyst/targets/grp.py
+++ b/catalyst/targets/grp.py
@@ -39,20 +39,6 @@ class grp(StageBase):
StageBase.__init__(self,spec,addlargs)
- def set_target_path(self):
-
self.settings["target_path"]=normpath(self.settings["storedir"]+"/builds/"+self.settings["target_subpath"])
- if "autoresume" in self.settings["options"] \
- and self.resume.is_enabled("setup_target_path"):
- log.notice('Resume point detected, skipping target path
setup operation...')
- else:
- # first clean up any existing target stuff
- #if os.path.isdir(self.settings["target_path"]):
- #cmd("rm -rf "+self.settings["target_path"],
- #"Could not remove existing directory:
"+self.settings["target_path"],env=self.env)
- ensure_dirs(self.settings["target_path"])
-
- self.resume.enable("setup_target_path")
-
def run_local(self):
for pkgset in self.settings["grp"]:
# example call: "grp.sh run pkgset cd1 xmms vim
sys-apps/gleep"