提交 87f71398 编写于 作者: D Daniel P. Berrangé

rpm: disable some features on riscv64

numctl, numad and zfs-fuse are not available on riscv64 targets
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 e7730d19
......@@ -100,13 +100,13 @@
%define with_vbox 0
%endif
# Numactl is not available on s390[x] and ARM
%ifarch s390 s390x %{arm}
# Numactl is not available on many non-x86 archs
%ifarch s390 s390x %{arm} riscv64
%define with_numactl 0
%endif
# zfs-fuse is not available on some architectures
%ifarch s390 s390x aarch64
%ifarch s390 s390x aarch64 riscv64
%define with_storage_zfs 0
%endif
......@@ -180,8 +180,8 @@
%if %{with_qemu} || %{with_lxc} || %{with_uml}
# numad is used to manage the CPU and memory placement dynamically,
# it's not available on s390[x] and ARM.
%ifnarch s390 s390x %{arm}
# it's not available on many non-x86 architectures.
%ifnarch s390 s390x %{arm} riscv64
%define with_numad 0%{!?_without_numad:1}
%endif
%endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册