From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JtZVK-00088P-Ha for garchives@archives.gentoo.org; Wed, 07 May 2008 02:35:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5E55E06F5; Wed, 7 May 2008 02:35:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9BE5DE06F5 for ; Wed, 7 May 2008 02:35:36 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2387F669A5 for ; Wed, 7 May 2008 02:35:36 +0000 (UTC) Message-ID: <482115AB.9010102@gentoo.org> Date: Tue, 06 May 2008 19:36:27 -0700 From: Zac Medico User-Agent: Thunderbird 2.0.0.12 (X11/20080213) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] preserving mtimes References: <4820DF4C.7000801@gentoo.org> In-Reply-To: <4820DF4C.7000801@gentoo.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2fc724ea-a922-485e-aab3-5ec512db26e4 X-Archives-Hash: ce60e67295ea5ceef9366909f4265326 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marijn Schouten (hkBst) wrote: > Hi list, > > files installed by portage to ${ROOT} do not have the same time stamps > as the same files > in ${D}. Any timestamp difference here is not due to portage itself (since portage-2.1.3). The timestamp change is usually due to the default values of these variables which are defined in ebuild.sh: export INSOPTIONS="-m0644" export EXEOPTIONS="-m0755" export LIBOPTIONS="-m0644" export DIROPTIONS="-m0755" It's currently possible for ebuilds to call the insopts, diropts, exeopts, and libopts functions to modify these variables. If they add the -p option, then timestamps will be preserved. I suppose we can add -p to the default options if that's what everybody wants. Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkghFakACgkQ/ejvha5XGaOLSQCeNOXhp5BY7pIeB/dfQ0lQGkEM 7doAoL9y/VH24DAQ9xDnmV4BlwB2Q5rt =fW6M -----END PGP SIGNATURE----- -- gentoo-dev@lists.gentoo.org mailing list