Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libvirt
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /extra/libvirt
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'extra/libvirt')
-rw-r--r--extra/libvirt/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/libvirt/PKGBUILD b/extra/libvirt/PKGBUILD
new file mode 100644
index 00000000..ac9207d7
--- /dev/null
+++ b/extra/libvirt/PKGBUILD
@@ -0,0 +1,36 @@
+# ceph doesn't run on 32-bit currently (see FS32#21)
+depends=(${depends[@]/ceph-libs/})
+makedepends=(${makedepends[@]/ceph-libs/})
+
+# remove qemu-rdb (configure doesn't see rdb, does it depend on ceph?)
+pkgname=(${pkgname[@]/libvirt-storage-rbd/})
+unset -f 'libvirt-storage-rbd'
+
+eval "$(
+ declare -f package_libvirt | \
+ sed '
+ s/libvirt_storage_backend_{rbd,gluster}.so/libvirt_storage_backend_gluster.so/
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/-Dstorage_rbd=enabled/-Dstorage_rbd=disabled/
+ '
+)"
+
+# ignore some failing tests (look like races or/and timeout issues, on different
+# sub-architecture and runs different tests fail)
+# 108/148 virnettlscontexttest FAIL 0.14s exit status 1
+# 109/148 virnettlscontexttest FAIL 0.61s exit status 1
+# 111/148 virnettlscontexttest FAIL 0.16s exit status 1
+# 117/148 virnettlssessiontest FAIL 0.34s exit status 1
+# 118/148 virnettlssessiontest FAIL 0.34s exit status 1
+# 121/148 virnettlssessiontest FAIL 1.41s exit status 1
+eval "$(
+ declare -f check | \
+ sed '
+ s/\(ninja -C build test\)/\1 || true/
+ '
+)"