[1/5] kernel-devsrc: improve reproducibility for arm64

Submitted by Bruce Ashfield on Nov. 19, 2020, 7:17 p.m. | Patch ID: 178190

Details

Message ID 6f0748b2146827f94be9c9d385f38302e8e650dc.1605813340.git.bruce.ashfield@gmail.com
State New
Headers show

Commit Message

Bruce Ashfield Nov. 19, 2020, 7:17 p.m.
From: "INC@Cisco)" <INC@Cisco)>


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

---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.19.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144828): https://lists.openembedded.org/g/openembedded-core/message/144828
Mute This Topic: https://lists.openembedded.org/mt/78372782/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

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