From d06797103880dd1bd8d2310dde6fba5589f5fee5 Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Tue, 27 Sep 2022 18:01:55 +0200 Subject: disable btf dump again --- kernel.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit