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:40 +0200 |
commit | 89971cdbcecc0f39e90c266b829b3c959fdb2741 (patch) | |
tree | 0b96e3b5846aac1749bfc775acd3b2ccd035f2a6 | |
parent | e2ecdbabf4e8dcb5a226cd899b0a1c653adcc199 (diff) | |
download | kernel-89971cdbcecc0f39e90c266b829b3c959fdb2741.tar.gz kernel-89971cdbcecc0f39e90c266b829b3c959fdb2741.tar.xz kernel-89971cdbcecc0f39e90c266b829b3c959fdb2741.zip |
disable btf dump againkernel-6.0.0-0.rc7.20220927gita1375562c0a8.48.vanilla.1.fc37
-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 |