commit:     237fb76b6148dcd4c5a4bf4c365633ce9c90bd0f
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 18 15:53:09 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Apr 18 15:53:09 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=237fb76b

stagebase: Fix rsync from copying stage2 inside stage3

Fixes the resolv.conf issue due to /etc not existing.
Fix supplied by GMsoft.

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

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 395582f..52cf04e 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -402,8 +402,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
                if "seedcache" in self.settings["options"]\
                        and 
os.path.isdir(normpath(self.settings["storedir"]+"/tmp/"+\
                                self.settings["source_subpath"]+"/")):
-                       
self.settings["source_path"]=normpath(self.settings["storedir"]+\
-                               "/tmp/"+self.settings["source_subpath"])
+                       self.settings["source_path"] = 
normpath(self.settings["storedir"] +
+                               "/tmp/" + self.settings["source_subpath"] + "/")
                else:
                        
self.settings["source_path"]=normpath(self.settings["storedir"]+\
                                
"/builds/"+self.settings["source_subpath"].rstrip('/')+".tar.bz2")

Reply via email to