List Archive: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Timothy Redaelli wrote:
> On Tuesday 31 March 2009 00:59:57 Ulrich Mueller wrote:
> <cut>
>> [1] For "find -newermt" we will need >=findutils-4.3.3 which shouldn't
>> be a problem because 4.3.4 went stable in May 2007.
>
> No, BSD find does not support it and we don't want to use findutils.
> Neither busybox find supports it.
> Make it POSIX[1] please.
>
> [1] http://www.opengroup.org/onlinepubs/009695399/utilities/find.html
>
Here is a solution that should work with find(1p) and touch(1p):
Immediately preceding pkg_setup, `touch
"${PORTAGE_BUILDDIR}/.pre_pkg_setup`; immediately following src_install,
`touch "${PORTAGE_BUILDDIR}"/.post_src_install`.
Then, the following call to find(1p) should work:
find "${D}" -type f \
\( \! -newer "${PORTAGE_BUILDDIR}"/.pre_pkg_setup -exec \
touch -c -r "${PORTAGE_BUILDDIR}"/.pre_pkg_setup {} + \
-o -newer "${PORTAGE_BUILDDIR}"/.post_src_install -exec \
touch -c -r "${PORTAGE_BUILDDIR}"/.post_src_install {} + \)
- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknR9dwACgkQOypDUo0oQOrNqACgl6buNNyuQqaXLMSDfu2JzPU2
NuYAoNuaxtEmFcTq0jfIetjMTeT7X2Zn
=8+lB
-----END PGP SIGNATURE-----
|
|