Disable bpftool (via kernel selftests) on riscv64

This is new compared to v5.10 kernel (last one we built for riscv64).

This is only disabled for armv7hl in Fedora upstream. This failed on
riscv64:

[..]
+ bpftool btf dump file vmlinux format c
Error: failed to load BTF from vmlinux: Invalid argument
error: Bad exit status from /var/tmp/rpm-tmp.Hsyyvw (%build)
[..]

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2021-11-09 06:57:48 +02:00
parent 2d7fb8ad11
commit 446707818c
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 7 additions and 0 deletions

View File

@ -466,6 +466,10 @@ Summary: The Linux kernel
%define kernel_image arch/arm64/boot/Image.gz
%endif
%ifarch riscv64
%define with_selftests 0
%endif
%ifarch riscv64
%define all_arch_configs kernel-%{version}-riscv64*.config
%define asmarch riscv
@ -2971,6 +2975,9 @@ fi
#
#
%changelog
* Tue Nov 09 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> [5.14.16-1.0.riscv64]
- Enable riscv64 arch
* Wed Nov 03 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.14.16-1]
- Update release for usb fix rebuild (Justin M. Forbes)
- Revert "xhci: Set HCD flag to defer primary roothub registration" (Justin M. Forbes)