summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/diffutils/diffutils-2.8.1/fix_gcc6.patch
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-09-30 16:00:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-02 11:28:03 +0100
commit21349d54a179ac2b2ac216cc299ca9e35f0c1aab (patch)
treed07d3225c5b6ed2f6cb7ee58e6c52734793eacd9 /meta/recipes-extended/diffutils/diffutils-2.8.1/fix_gcc6.patch
parente3e6583c486a2acd1efc4ab6d9420e96a9a15408 (diff)
downloadpoky-21349d54a179ac2b2ac216cc299ca9e35f0c1aab.tar.gz
package.py: replace all files unconditionally when copy debug sources
This is for fixing reproducible issue for package like: intel-speed-select-src. For intel-speed-select, one of the debug sources is /usr/src/debug/intel-speed-select/1.0/include/linux/thermal.h, file include/linux/thermal.h under ${S} (kernel-sources) link file include/linux/thermal.h under ${B}, which link to ${S}/include/uapi/linux/thermal.h During copy debug sources, sources under ${S} copied first, then sources under ${B} is copied. mtime of ${S}/include/linux/thermal.h and ${S}/include/uapi/linux/thermal.h are decided by when it is fetched, so it is not determinate, maybe same or different. For cpio, if the in file is older than or the same as the exist file, cpio will not replace the exist file with warning "cpio: xxx not created: newer or same age version exists". And this will cause intel-speed-select-src maybe not reproducible. And option '-u' for cpio, first, this will make the copied file determistic. Second, source files under ${B} should have higher priority then ${S}, it may be generated during build, the target is more likely to use this file. (From OE-Core rev: 8898f97b4acc9d5c2c6583c91d05327f9093133e) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils-2.8.1/fix_gcc6.patch')
0 files changed, 0 insertions, 0 deletions