commit:     e606f764a51f3cfa9e8810bc6018fb88f3f813c9
Author:     Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 21:41:36 2015 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 21:41:36 2015 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e606f764

use cp -a for portage_overlay

if makes sense to preserve things like time stamps when copying in
portage_overlay to avoid emerge thinking the files changed with every
new stage.  most other places in the code use cp -a or rsync -a

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

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 8ea1dc4..3c24dbd 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -908,7 +908,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
                                        cmd("mkdir -p 
"+self.settings["chroot_path"]+\
                                                self.settings["local_overlay"],\
                                                "Could not make portage_overlay 
dir",env=self.env)
-                                       cmd("cp -R "+x+"/* 
"+self.settings["chroot_path"]+\
+                                       cmd("cp -a "+x+"/* 
"+self.settings["chroot_path"]+\
                                                self.settings["local_overlay"],\
                                                "Could not copy 
portage_overlay",env=self.env)
 

Reply via email to