commit:     a4b4e22c2d91d500198f8b15c14f7a4eb6060998
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 08:25:15 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 09:01:06 2017 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a4b4e22c

base/stagebase.py: Update the cleanables to the new repo variables

 catalyst/base/stagebase.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 31efdf6..01aced0 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -471,7 +471,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
 
        def set_cleanables(self):
                self.settings["cleanables"] = ["/etc/resolv.conf", 
"/var/tmp/*", "/tmp/*",
-                       "/root/*", self.settings["portdir"]]
+                       "/root/*", self.settings["repo_basedir"] + "/" +
+                       self.settings["repo_name"]]
 
        def set_snapshot_path(self):
                self.settings["snapshot_path"] = file_check(

Reply via email to