]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-devsrc: improve reproducibility for arm64
authorINC@Cisco) <INC@Cisco)>
Thu, 19 Nov 2020 19:17:48 +0000 (14:17 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2020 10:27:38 +0000 (10:27 +0000)
.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>
meta/recipes-kernel/linux/kernel-devsrc.bb

index 8373c97a31fba4ff95ccacbec008f8c03aae2a30..8a900ed18298b0c770e2bfd47651f4bb8bf10dd3 100644 (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