[Pkg-libvirt-commits] [libvirt] 02/03: Enable rados block device support

Guido Guenther agx at alioth.debian.org
Sun Oct 6 14:04:39 UTC 2013


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to branch experimental
in repository libvirt.

commit c7747b02cc78813f4a415eb203023632916164d9
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sun Oct 6 15:31:03 2013 +0200

    Enable rados block device support
---
 debian/control |    3 +++
 debian/rules   |    3 +++
 2 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index 8260cd4..abef8d8 100644
--- a/debian/control
+++ b/debian/control
@@ -40,6 +40,9 @@ Build-Depends:
  systemtap-sdt-dev [amd64 armel armhf i386 ia64 powerpc s390],
 # for --with-storage-sheepdog
  sheepdog [linux-any],
+# for --with-storage-rados
+ librbd-dev [linux-any],
+ librados-dev [linux-any],
 # For "make check"
  augeas-tools,
  dwarves,
diff --git a/debian/rules b/debian/rules
index 97efecd..6871132 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
   WITH_STORAGE_ISCSI  = --with-storage-iscsi
   WITH_STORAGE_DISK   =	--with-storage-disk
   WITH_STORAGE_SHEEPDOG = --with-storage-sheepdog
+  WITH_STORAGE_RADOS  = --with-storage-rados
   WITH_UDEV           = --with-udev --without-hal
   WITH_CAPNG          = --with-capng
   WITH_POLKIT         = --with-polkit
@@ -48,6 +49,7 @@ else
   WITH_STORAGE_ISCSI  = --without-storage-iscsi
   WITH_STORAGE_DISK   =	--without-storage-disk
   WITH_STORAGE_SHEEPDOG = --without-storage-sheepdog
+  WITH_STORAGE_RADOS  = --without-storage-rados
   WITH_UDEV           = --without-udev --with-hal
   WITH_CAPNG          = --without-capng
   WITH_POLKIT         = --without-polkit
@@ -81,6 +83,7 @@ DEB_CONFIGURE_EXTRA_ARGS :=      \
 	$(WITH_STORAGE_ISCSI)	 \
 	$(WITH_STORAGE_DISK)	 \
 	$(WITH_STORAGE_SHEEPDOG) \
+	$(WITH_STORAGE_RADOS)    \
 	$(WITH_INIT_SCRIPT)      \
 	$(WITH_NUMA)             \
 	--without-selinux        \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list