From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/libvirt/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 extra/libvirt/PKGBUILD (limited to 'extra/libvirt') 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/ + ' +)" -- cgit v1.2.3-70-g09d2