diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2022-09-27 18:01:55 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2022-09-27 18:26:51 +0200 |
commit | d06797103880dd1bd8d2310dde6fba5589f5fee5 (patch) | |
tree | 0b96e3b5846aac1749bfc775acd3b2ccd035f2a6 /kernel.spec | |
parent | e2ecdbabf4e8dcb5a226cd899b0a1c653adcc199 (diff) | |
download | kernel-d06797103880dd1bd8d2310dde6fba5589f5fee5.tar.gz kernel-d06797103880dd1bd8d2310dde6fba5589f5fee5.tar.xz kernel-d06797103880dd1bd8d2310dde6fba5589f5fee5.zip |
disable btf dump againkernel-6.0.0-0.rc7.20220927gita1375562c0a8.48.vanilla.1.fc38kernel-6.0.0-0.rc7.20220927gita1375562c0a8.48.vanilla.1.fc36kernel-6.0.0-0.rc7.20220927gita1375562c0a8.48.vanilla.1.fc35
Diffstat (limited to 'kernel.spec')
-rwxr-xr-x | kernel.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec index 0468fd5af..5f79b08e1 100755 --- a/kernel.spec +++ b/kernel.spec @@ -2202,7 +2202,12 @@ BuildKernel() { # Generate vmlinux.h and put it to kernel-devel path # zfcpdump build does not have btf anymore if [ "$Variant" != "zfcpdump" ]; then - bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h + # disabled for vanilla builds, to avoid a build problem: + # + # + bpftool btf dump file vmlinux format c + # Error: failed to load BTF from vmlinux: Unknown error -2 + # bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h + : fi %endif |