[pve-devel] [PATCH] add rbd support to qemu-kvm

Alexandre Derumier aderumier at odiso.com
Sun Jun 3 17:13:20 CEST 2012


to build, we need librbd-dev

http://ceph.com/debian/pool/main/c/ceph/librbd-dev_0.47.2-1~bpo60+1_amd64.deb

new dependencies:
ceph-common: include rbd command line
librbd and librados2 : rados protocol librairies

http://ceph.com/debian/pool/main/c/ceph/ceph-common_0.47.2-1~bpo60+1_amd64.deb
http://ceph.com/debian/pool/main/c/ceph/librbd1_0.47.2-1~bpo60+1_amd64.deb
http://ceph.com/debian/pool/main/c/ceph/librados2_0.47.2-1~bpo60+1_amd64.deb

official squeeze repository is
deb http://ceph.com/debian/ squeeze main

but maybe can we add packages in proxmox repository ?

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 debian/control |    4 ++--
 debian/rules   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 09d6b36..5ba5a01 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,12 @@ Source: pve-qemu-kvm
 Section: admin
 Priority: extra
 Maintainer: Proxmox Support Team <support at proxmox.com>
-Build-Depends: debhelper (>= 5), autotools-dev, libpci-dev, quilt, texinfo, texi2html, libgnutls-dev, libsdl1.2-dev, check, libaio-dev, uuid-dev
+Build-Depends: debhelper (>= 5), autotools-dev, libpci-dev, quilt, texinfo, texi2html, libgnutls-dev, libsdl1.2-dev, check, libaio-dev, uuid-dev, librbd-dev (= 0.47.2-1~bpo60+1)
 Standards-Version: 3.7.2
 
 Package: pve-qemu-kvm
 Architecture: any
-Depends: iproute, bridge-utils, python, libsdl1.2debian, libaio1, libuuid1, ${shlibs:Depends}, ${misc:Depends}
+Depends: iproute, bridge-utils, python, libsdl1.2debian, libaio1, libuuid1, ceph-common (= 0.47.2-1~bpo60+1), ${shlibs:Depends}, ${misc:Depends}
 Conflicts: qemu, qemu-kvm, kvm, pve-kvm, pve-qemu-kvm-2.6.18
 Replaces: pve-kvm, pve-qemu-kvm-2.6.18
 Description: Full virtualization on x86 hardware
diff --git a/debian/rules b/debian/rules
index afd443f..f6db4c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ endif
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	./configure --prefix=/usr --datadir=/usr/share --docdir=/usr/share/doc/pve-qemu-kvm --sysconfdir=/etc --disable-xen --enable-vnc-tls --enable-sdl --enable-uuid --enable-linux-aio
+	./configure --prefix=/usr --datadir=/usr/share --docdir=/usr/share/doc/pve-qemu-kvm --sysconfdir=/etc --disable-xen --enable-vnc-tls --enable-sdl --enable-uuid --enable-linux-aio --enable-rbd
 
 build: patch build-stamp
 
-- 
1.7.2.5




More information about the pve-devel mailing list