Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/libvirt/PKGBUILD
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/libvirt/PKGBUILD
parentaf3da9f17572145a4e3e407a5280a635adf2a633 (diff)
community/libvirt: disabling also rbd if not building ceph
Diffstat (limited to 'community/libvirt/PKGBUILD')
-rw-r--r--community/libvirt/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
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/
+ '
+)"