Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] preserving mtimes
Date: Wed, 07 May 2008 02:35:38
Message-Id: 482115AB.9010102@gentoo.org
In Reply to: [gentoo-dev] preserving mtimes by "Marijn Schouten (hkBst)"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Marijn Schouten (hkBst) wrote:
5 > Hi list,
6 >
7 > files installed by portage to ${ROOT} do not have the same time stamps
8 > as the same files
9 > in ${D}.
10
11 Any timestamp difference here is not due to portage itself (since
12 portage-2.1.3). The timestamp change is usually due to the default
13 values of these variables which are defined in ebuild.sh:
14
15 export INSOPTIONS="-m0644"
16 export EXEOPTIONS="-m0755"
17 export LIBOPTIONS="-m0644"
18 export DIROPTIONS="-m0755"
19
20 It's currently possible for ebuilds to call the insopts, diropts,
21 exeopts, and libopts functions to modify these variables. If they
22 add the -p option, then timestamps will be preserved. I suppose we
23 can add -p to the default options if that's what everybody wants.
24
25 Zac
26 -----BEGIN PGP SIGNATURE-----
27 Version: GnuPG v2.0.9 (GNU/Linux)
28
29 iEYEARECAAYFAkghFakACgkQ/ejvha5XGaOLSQCeNOXhp5BY7pIeB/dfQ0lQGkEM
30 7doAoL9y/VH24DAQ9xDnmV4BlwB2Q5rt
31 =fW6M
32 -----END PGP SIGNATURE-----
33 --
34 gentoo-dev@l.g.o mailing list

Replies

Subject Author
[gentoo-dev] Re: preserving mtimes Steve Long <slong@××××××××××××××××××.uk>