[oe-commits] [openembedded-core] 06/12: perl: Preserve attributes when applying cross files

git at git.openembedded.org git at git.openembedded.org
Wed May 29 11:58:42 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b9b8cd3ce9755087d5d89b54287e171ac5effe3b
Author: Joshua Watt <jpewhacker at gmail.com>
AuthorDate: Mon May 27 21:27:32 2019 -0500

    perl: Preserve attributes when applying cross files
    
    The file attributes (specifically the timestamps) must be preserved when
    applying the cross files to have reproducible builds. Otherwise, the
    cross files get the timestamp from when they are copied in the do_unpack
    task, and the reproducible_build class uses this timestamp since it is
    the youngest one in the source tree.
    
    Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/perl-sanity/perl_5.28.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/perl-sanity/perl_5.28.2.bb b/meta/recipes-devtools/perl-sanity/perl_5.28.2.bb
index 12b220a..f175e87 100644
--- a/meta/recipes-devtools/perl-sanity/perl_5.28.2.bb
+++ b/meta/recipes-devtools/perl-sanity/perl_5.28.2.bb
@@ -43,7 +43,7 @@ do_unpack_append() {
 }
 
 do_copy_perlcross() {
-    cp -rf ${WORKDIR}/perl-cross*/* ${S}
+    cp -rfp ${WORKDIR}/perl-cross*/* ${S}
 }
 
 do_configure_class-target() {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list