From cb45d2ef3d38bdc4dcd30c976ceb96caa05ee1f5 Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Thu, 2 Sep 2021 07:50:28 +0200 Subject: Revert "reenable bpftool btf dump" I was wrong, it's still a problem This reverts commit de17b76b2534cfcd50e21c6b5d28f453e254635c. --- kernel.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index 16e68ae3d..687587b61 100755 --- a/kernel.spec +++ b/kernel.spec @@ -2089,7 +2089,11 @@ BuildKernel() { %ifnarch armv7hl # Generate vmlinux.h and put it to kernel-devel path - bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h + + # tmp disabled for vanilla builds, as it fails on x86_64 with + # "Error: failed to load BTF from vmlinux: No such file or directory" + # (and yes, the file exists) + # bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h %endif # prune junk from kernel-devel -- cgit