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:44 +0000
commit51c5cd66e1da16bd572de56a2b885cdb2116e189 (patch)
tree36d17d9a7d3d4c69684e4657767e6e2056357137
parent34acb2e340807db7ebe3f1ada7fb1ef4627ff5cf (diff)
downloadpoky-51c5cd66e1da16bd572de56a2b885cdb2116e189.tar.gz
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. (From OE-Core rev: d31b4db24643b0867c654af34c684b4de2f8122b) 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() {
119 # but without this file, we get a forced syncconfig run in v5.8+, which prompts and 119 # but without this file, we get a forced syncconfig run in v5.8+, which prompts and
120 # breaks workflows. 120 # breaks workflows.
121 cp -a --parents include/generated/autoconf.h $kerneldir/build 2>/dev/null || : 121 cp -a --parents include/generated/autoconf.h $kerneldir/build 2>/dev/null || :
122
123 if [ -e $kerneldir/include/generated/.vdso-offsets.h.cmd ]; then
124 rm $kerneldir/include/generated/.vdso-offsets.h.cmd
125 fi
122 ) 126 )
123 127
124 # now grab the chunks from the source tree that we need 128 # now grab the chunks from the source tree that we need