From e9060f957a7c46f86cad4ce11c4defae0577fe4f Mon Sep 17 00:00:00 2001 From: ebasov Date: Fri, 14 Feb 2025 14:55:36 +0300 Subject: [PATCH] Delete Debug --- SPECS/kernel-6.1.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SPECS/kernel-6.1.spec b/SPECS/kernel-6.1.spec index 8f7d22b..b44c59a 100644 --- a/SPECS/kernel-6.1.spec +++ b/SPECS/kernel-6.1.spec @@ -774,8 +774,7 @@ BuildKernel() { %if %{with_bpftool} # Generate a vmlinux.h file. - find . -name vmlinux - bpftool btf dump file vmlinux format c > tools/bpf/bpftool/vmlinux.h + bpftool btf dump file %{_builddir}/%{name}-%{version}/linux-%{KVERREL}-${Variant}/vmlinux format c > tools/bpf/bpftool/vmlinux.h RPM_VMLINUX_H=vmlinux.h %endif %endif