diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2015-10-27 17:41:36 -0400 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2015-10-27 17:41:36 -0400 |
commit | e606f764a51f3cfa9e8810bc6018fb88f3f813c9 (patch) | |
tree | c09e86ed1d27e5bec603554ff5c69efb4c36f563 | |
parent | targets: handle new clst_VERBOSE behavior (diff) | |
download | catalyst-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.py | 2 |
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) |