summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2021-09-02 07:50:28 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2021-09-02 07:50:28 +0200
commitcb45d2ef3d38bdc4dcd30c976ceb96caa05ee1f5 (patch)
tree072a5f237fa90afc5989b3acbcfcfb9c4068343e
parentbd8303ac1299f3530627c931cfb1f9bbd9ac1174 (diff)
downloadkernel-cb45d2ef3d38bdc4dcd30c976ceb96caa05ee1f5.tar.gz
kernel-cb45d2ef3d38bdc4dcd30c976ceb96caa05ee1f5.tar.xz
kernel-cb45d2ef3d38bdc4dcd30c976ceb96caa05ee1f5.zip
I was wrong, it's still a problem This reverts commit de17b76b2534cfcd50e21c6b5d28f453e254635c.
-rwxr-xr-xkernel.spec6
1 files changed, 5 insertions, 1 deletions
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