summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINC@Cisco) <INC@Cisco)>2020-11-19 14:17:48 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:38 +0000
commitd31b4db24643b0867c654af34c684b4de2f8122b (patch)
tree88b4ac6312812f11cc9585ba3d0afd49f29960f1
parent670fe71dd18ea675f35581db4a61fda137f8bf00 (diff)
downloadopenembedded-core-contrib-d31b4db24643b0867c654af34c684b4de2f8122b.tar.gz
openembedded-core-contrib-d31b4db24643b0867c654af34c684b4de2f8122b.tar.bz2
openembedded-core-contrib-d31b4db24643b0867c654af34c684b4de2f8122b.zip
kernel-devsrc: improve reproducibility for arm64
.vdso-offsets.h.cmd contains command that was used to produce vdso-offsets.h. It breaks reproducibility because it has an absolute path in it. There is no any value to package such files so it can be dropped. Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 8373c97a31..8a900ed182 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -119,6 +119,10 @@ do_install() {
# but without this file, we get a forced syncconfig run in v5.8+, which prompts and
# 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
+ fi
)
# now grab the chunks from the source tree that we need