From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E334B1384B4 for ; Sat, 21 Nov 2015 01:33:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A2BB21C006; Sat, 21 Nov 2015 01:33:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60EAC21C002 for ; Sat, 21 Nov 2015 01:33:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 957F7340A9C for ; Sat, 21 Nov 2015 01:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8A611067 for ; Sat, 21 Nov 2015 01:33:44 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1445982096.e606f764a51f3cfa9e8810bc6018fb88f3f813c9.dolsen@gentoo> Subject: [gentoo-commits] proj/catalyst:pending commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: e606f764a51f3cfa9e8810bc6018fb88f3f813c9 X-VCS-Branch: pending Date: Sat, 21 Nov 2015 01:33:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 656cece7-3d41-4640-b579-dff29a6081d5 X-Archives-Hash: 5332123b94c7f71ce91af86dfc10bbd5 commit: e606f764a51f3cfa9e8810bc6018fb88f3f813c9 Author: Rick Farina (Zero_Chaos) gentoo org> AuthorDate: Tue Oct 27 21:41:36 2015 +0000 Commit: Brian Dolbec gentoo 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)