summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-02-13 14:23:55 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-02-13 14:23:55 +0100
commit183526c5c58db1949d001b0c91422522cf83694c (patch)
treeebd38ad3493872eec290867ca455f8697f9dab59 /community
parentaf3da9f17572145a4e3e407a5280a635adf2a633 (diff)
downloadpackages-183526c5c58db1949d001b0c91422522cf83694c.tar.xz
community/libvirt: disabling also rbd if not building ceph
Diffstat (limited to 'community')
-rw-r--r--community/libvirt/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD
index 379bcb8..3592b5b 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/
+ '
+)"