From 183526c5c58db1949d001b0c91422522cf83694c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 13 Feb 2021 14:23:55 +0100 Subject: community/libvirt: disabling also rbd if not building ceph --- community/libvirt/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'community') diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index 379bcb8f..3592b5b5 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -12,3 +12,10 @@ eval "$( s/libvirt_storage_backend_{rbd,gluster}.so/libvirt_storage_backend_gluster.so/ ' )" + +eval "$( + declare -f build | \ + sed ' + s/-Dstorage_rbd=enabled/-Dstorage_rbd=disabled/ + ' +)" -- cgit v1.2.3-54-g00ecf