summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2021-06-25 14:45:03 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2021-06-25 14:45:03 +0200
commit223b4a60bc2b6ccc3dd6342f4559358c2f72bddb (patch)
tree14a6e1bb519a9d48d81a2b27be1ffc9a9d4f23c1
parentcf00055ee636ed618313add609905ab9488aca62 (diff)
downloadkernel-223b4a60bc2b6ccc3dd6342f4559358c2f72bddb.tar.gz
kernel-223b4a60bc2b6ccc3dd6342f4559358c2f72bddb.tar.xz
kernel-223b4a60bc2b6ccc3dd6342f4559358c2f72bddb.zip
disable vmlinux.h, makes the build fail on x86_64
-rwxr-xr-xkernel.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index bfb791fb7..14e9bb430 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -2022,7 +2022,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