mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
kernel-devsrc: fix reproducibility and buildpaths QA warning
We've been removing .vdso-offsets.h.cmd for quite some time, as it is not required to regenerate scripts or to satisfy the prepare target in the kernel source. That being said, there is a secondary location that this file may be found, and since we aren't detecting or removing it, we end up with embedded build paths, which cause both reproducibility and buildpaths QA warnings. We can test for both files, and force remove them if present, and we'll fix this new location of the file and not risk breaking any old kernels. (From OE-Core rev: ff5b50458a7018c157df9b5f039d80434b0e6e24) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e0a9433685397b716920fa9ad5d5a7be95c496f7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
083616689f
commit
3e6f03797c
@@ -128,8 +128,10 @@ do_install() {
|
||||
# breaks workflows.
|
||||
cp -a --parents include/generated/autoconf.h $kerneldir/build 2>/dev/null || :
|
||||
|
||||
if [ -e $kerneldir/include/generated/.vdso-offsets.h.cmd ]; then
|
||||
rm $kerneldir/include/generated/.vdso-offsets.h.cmd
|
||||
if [ -e $kerneldir/include/generated/.vdso-offsets.h.cmd ] ||
|
||||
[ -e $kerneldir/build/include/generated/.vdso-offsets.h.cmd ]; then
|
||||
rm -f $kerneldir/include/generated/.vdso-offsets.h.cmd
|
||||
rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd
|
||||
fi
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user