summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2019-05-27 21:27:32 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-29 12:54:12 +0100
commitb7cbd890ccbd768d633056018d7449997d83e882 (patch)
tree31c2c77e3b177344b51a47b07e6562a82f76dd1f /meta/recipes-devtools
parent15b1bb970c12af09bf115c30ff7ea9f6e5f3fa9c (diff)
downloadpoky-b7cbd890ccbd768d633056018d7449997d83e882.tar.gz
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. (From OE-Core rev: b9b8cd3ce9755087d5d89b54287e171ac5effe3b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl-sanity/perl_5.28.2.bb2
1 files changed, 1 insertions, 1 deletions
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 12b220a4d8..f175e87a12 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() {
43} 43}
44 44
45do_copy_perlcross() { 45do_copy_perlcross() {
46 cp -rf ${WORKDIR}/perl-cross*/* ${S} 46 cp -rfp ${WORKDIR}/perl-cross*/* ${S}
47} 47}
48 48
49do_configure_class-target() { 49do_configure_class-target() {