Disable bpftool on riscv64

This is the actual failing line mentioned in the previous commit.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2021-11-09 10:54:44 +02:00
parent 446707818c
commit 6fdd2db7c2
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -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