From 6fdd2db7c278e7ce53556ad4c412b107ba7d9ca3 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 9 Nov 2021 10:54:44 +0200 Subject: [PATCH] Disable bpftool on riscv64 This is the actual failing line mentioned in the previous commit. Signed-off-by: David Abdurachmanov --- kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index 2cf4ff4c0..06ac1d593 100755 --- a/kernel.spec +++ b/kernel.spec @@ -2102,7 +2102,7 @@ BuildKernel() { # the F17 UsrMove feature. ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build -%ifnarch armv7hl +%ifnarch armv7hl riscv64 # Generate vmlinux.h and put it to kernel-devel path bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h %endif