mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
15b1bb970c
commit
b7cbd890cc
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user