diff options
Diffstat (limited to 'kernel.spec')
-rwxr-xr-x | kernel.spec | 6 |
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 |