Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: preserving mtimes
Date: Sat, 10 May 2008 19:28:42
Message-Id: 4825F7B8.40607@gentoo.org
In Reply to: [gentoo-dev] Re: preserving mtimes by Steve Long
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Steve Long wrote:
5 > Zac Medico wrote:
6 >> It's currently possible for ebuilds to call the insopts, diropts,
7 >> exeopts, and libopts functions to modify these variables. If they
8 >> add the -p option, then timestamps will be preserved. I suppose we
9 >> can add -p to the default options if that's what everybody wants.
10 >>
11 > Gets my vote (or new-fangled backport from pkgcore if it's more efficient.)
12 >
13
14 It's a pretty simple thing to change. We just have to do a couple of
15 things:
16
17 1) Add -p to the default INSOPTIONS, EXEOPTIONS, LIBOPTIONS, and
18 DIROPTIONS variables.
19
20 2) Modify the corresponding insopts, diropts, exeopts, and libopts
21 functions to force -p into the options if the caller hasn't included
22 that option.
23
24 Zac
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v2.0.9 (GNU/Linux)
27
28 iEYEARECAAYFAkgl97cACgkQ/ejvha5XGaOa0wCgnZsLdyaCi/pa8dP8EAWOl7EP
29 WzwAoMd+RCzpUpK+UCZ7zwizscIMg0jM
30 =lz2T
31 -----END PGP SIGNATURE-----
32 --
33 gentoo-dev@l.g.o mailing list