From 782c6ac40403ff0b80e8042d098ba41a7e65a6df Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 13 Aug 2020 16:19:53 +0100 Subject: [PATCH] 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 --- nbdkit.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nbdkit.spec b/nbdkit.spec index bd3cf3d..04b98e9 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -1,8 +1,11 @@ %global _hardened_build 1 %ifarch %{kernel_arches} +# ... except that it doesn't work on s390, so: +%ifnarch s390 s390x %global have_libguestfs 1 %endif +%endif # We can only compiler the OCaml plugin on platforms which have native # OCaml support (not bytecode).