public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] kernel-devsrc: improve reproducibility for arm64
@ 2020-10-29 11:40 Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco)
  2020-10-29 11:44 ` [OE-core] " Bruce Ashfield
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco) @ 2020-10-29 11:40 UTC (permalink / raw)
  To: openembedded-core

.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>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index aa8e162f4f..f8c750beaa 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -113,6 +113,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
-- 
2.19.0.dirty


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-16 15:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-29 11:40 [PATCH] kernel-devsrc: improve reproducibility for arm64 Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco)
2020-10-29 11:44 ` [OE-core] " Bruce Ashfield
2020-10-30 12:30   ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco)
     [not found]   ` <1642C502B17F26A6.28917@lists.openembedded.org>
2020-11-09  9:53     ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco)
     [not found]     ` <1645CE4049F0E4CD.31324@lists.openembedded.org>
2020-11-16 15:14       ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco)
2020-11-16 15:23         ` Bruce Ashfield
2020-11-16 15:29           ` Denys Zagorui -X (dzagorui - GLOBALLOGIC INC@Cisco)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox