From: INC@Cisco) Date: Thu, 19 Nov 2020 19:17:48 +0000 (-0500) Subject: kernel-devsrc: improve reproducibility for arm64 X-Git-Tag: uninative-2.10~672 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d31b4db24643b0867c654af34c684b4de2f8122b;p=openembedded-core.git 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 Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- 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