1 |
commit: e606f764a51f3cfa9e8810bc6018fb88f3f813c9 |
2 |
Author: Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 27 21:41:36 2015 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 27 21:41:36 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e606f764 |
7 |
|
8 |
use cp -a for portage_overlay |
9 |
|
10 |
if makes sense to preserve things like time stamps when copying in |
11 |
portage_overlay to avoid emerge thinking the files changed with every |
12 |
new stage. most other places in the code use cp -a or rsync -a |
13 |
|
14 |
catalyst/base/stagebase.py | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
18 |
index 8ea1dc4..3c24dbd 100644 |
19 |
--- a/catalyst/base/stagebase.py |
20 |
+++ b/catalyst/base/stagebase.py |
21 |
@@ -908,7 +908,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
22 |
cmd("mkdir -p "+self.settings["chroot_path"]+\ |
23 |
self.settings["local_overlay"],\ |
24 |
"Could not make portage_overlay dir",env=self.env) |
25 |
- cmd("cp -R "+x+"/* "+self.settings["chroot_path"]+\ |
26 |
+ cmd("cp -a "+x+"/* "+self.settings["chroot_path"]+\ |
27 |
self.settings["local_overlay"],\ |
28 |
"Could not copy portage_overlay",env=self.env) |