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