1 |
commit: 4536a30781c9b3ca7245a39634093e93ccd5344c |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 15 16:44:18 2015 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 15 16:44:18 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4536a307 |
7 |
|
8 |
stagebase.py: Clean out some dead set_target_path() code |
9 |
|
10 |
catalyst/base/stagebase.py | 9 --------- |
11 |
1 file changed, 9 deletions(-) |
12 |
|
13 |
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
14 |
index 62950b5..92f300e 100644 |
15 |
--- a/catalyst/base/stagebase.py |
16 |
+++ b/catalyst/base/stagebase.py |
17 |
@@ -343,16 +343,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
18 |
and self.resume.is_enabled("setup_target_path"): |
19 |
log.notice('Resume point detected, skipping target path setup operation...') |
20 |
else: |
21 |
- # First clean up any existing target stuff |
22 |
- # XXX WTF are we removing the old tarball before we start building the |
23 |
- # XXX new one? If the build fails, you don't want to be left with |
24 |
- # XXX nothing at all |
25 |
-# if os.path.isfile(self.settings["target_path"]): |
26 |
-# cmd("rm -f "+self.settings["target_path"],\ |
27 |
-# "Could not remove existing file: "\ |
28 |
-# +self.settings["target_path"],env=self.env) |
29 |
self.resume.enable("setup_target_path") |
30 |
- |
31 |
ensure_dirs(self.settings["storedir"] + "/builds") |
32 |
|
33 |
def set_fsscript(self): |