Disable libguestfs tests on s390.

qemu-system-s390x: failed to initialize kvm: No such file or directory
qemu-system-s390x: falling back to tcg
qemu-system-s390x: CPU definition requires KVM
This commit is contained in:
Richard W.M. Jones 2020-08-13 16:19:53 +01:00
parent 519e3edb9f
commit 782c6ac404

View File

@ -1,8 +1,11 @@
%global _hardened_build 1 %global _hardened_build 1
%ifarch %{kernel_arches} %ifarch %{kernel_arches}
# ... except that it doesn't work on s390, so:
%ifnarch s390 s390x
%global have_libguestfs 1 %global have_libguestfs 1
%endif %endif
%endif
# We can only compiler the OCaml plugin on platforms which have native # We can only compiler the OCaml plugin on platforms which have native
# OCaml support (not bytecode). # OCaml support (not bytecode).