diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-02-13 14:23:55 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-02-13 14:23:55 +0100 |
commit | 183526c5c58db1949d001b0c91422522cf83694c (patch) | |
tree | ebd38ad3493872eec290867ca455f8697f9dab59 /community/libvirt | |
parent | af3da9f17572145a4e3e407a5280a635adf2a633 (diff) | |
download | packages-183526c5c58db1949d001b0c91422522cf83694c.tar.xz |
community/libvirt: disabling also rbd if not building ceph
Diffstat (limited to 'community/libvirt')
-rw-r--r-- | community/libvirt/PKGBUILD | 7 |
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/ + ' +)" |