aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2015-10-27 17:41:36 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2015-10-27 17:41:36 -0400
commite606f764a51f3cfa9e8810bc6018fb88f3f813c9 (patch)
treec09e86ed1d27e5bec603554ff5c69efb4c36f563
parenttargets: handle new clst_VERBOSE behavior (diff)
downloadcatalyst-e606f764a51f3cfa9e8810bc6018fb88f3f813c9.tar.gz
catalyst-e606f764a51f3cfa9e8810bc6018fb88f3f813c9.tar.bz2
catalyst-e606f764a51f3cfa9e8810bc6018fb88f3f813c9.zip
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
-rw-r--r--catalyst/base/stagebase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 8ea1dc40..3c24dbda 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)