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>
This commit is contained in:
INC@Cisco)
2020-11-19 14:17:48 -05:00
committed by Richard Purdie
parent 34acb2e340
commit 51c5cd66e1

View File

@@ -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