]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
add rbd-nbd package
authorYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 13 Nov 2015 09:31:00 +0000 (17:31 +0800)
committerYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Sat, 21 Nov 2015 15:26:44 +0000 (23:26 +0800)
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
ceph.spec.in
debian/control
debian/rbd-nbd.install [new file with mode: 0644]
debian/rules

index 74920d5ee1ea2f4f80f7ba8cb7ac6c585ba16194..0882ba980aa6cb3d3121d91ca5cd2f8ab8b06e71 100644 (file)
@@ -253,6 +253,15 @@ Requires:  librbd1 = %{epoch}:%{version}-%{release}
 %description -n rbd-fuse
 FUSE based client to map Ceph rbd images to files
 
+%package -n rbd-nbd
+Summary:       Ceph RBD client base on NBD
+Group:         System Environment/Base
+Requires:      %{name}
+Requires:      librados2 = %{epoch}:%{version}-%{release}
+Requires:      librbd1 = %{epoch}:%{version}-%{release}
+%description -n rbd-nbd
+NBD based client to map Ceph rbd images to local device
+
 %package radosgw
 Summary:       Rados REST gateway
 Group:         Development/Libraries
@@ -961,6 +970,12 @@ fi
 %{_bindir}/rbd-fuse
 %{_mandir}/man8/rbd-fuse.8*
 
+#################################################################################
+%files -n rbd-nbd
+%defattr(-,root,root,-)
+%{_bindir}/rbd-nbd
+%{_mandir}/man8/rbd-nbd.8*
+
 #################################################################################
 %files radosgw
 %defattr(-,root,root,-)
index d757e05b7daa87e246aaf5276e85079794c6721c..c8f2c290413a889b826c06ea5e589eb5a1fa9e9b 100644 (file)
@@ -190,6 +190,33 @@ Description: debugging symbols for rbd-fuse
  .
  This package contains the debugging symbols for rbd-fuse.
 
+Package: rbd-nbd
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: NBD-based rbd client for the Ceph distributed file system
+ Ceph is a massively scalable, open-source, distributed
+ storage system that runs on commodity hardware and delivers object,
+ block and file system storage.  This is a
+ NBD-based client that allows one to map Ceph rbd images as local
+ block device.
+ .
+ NBD base client that allows one to map Ceph rbd images as local
+ block device.
+
+Package: rbd-nbd-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: rbd-nbd (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for rbd-nbd
+ Ceph is a massively scalable, open-source, distributed
+ storage system that runs on commodity hardware and delivers object,
+ block and file system storage.  This is a
+ NBD-based client that allows one to map Ceph rbd images as local
+ block device.
+ .
+ This package contains the debugging symbols for rbd-nbd.
+
 Package: ceph-common
 Architecture: linux-any
 Depends: librbd1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends},
diff --git a/debian/rbd-nbd.install b/debian/rbd-nbd.install
new file mode 100644 (file)
index 0000000..385c450
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin/rbd-nbd
+usr/share/man/man8/rbd-nbd.8
index 13ea829734bb2855ad03b8df8d3108facadc3f01..3bb2cdfc7226e5d061c12a398517357a260b76ae 100755 (executable)
@@ -161,6 +161,7 @@ binary-arch: build install
        dh_strip -pceph-mds --dbg-package=ceph-mds-dbg
        dh_strip -pceph-fuse --dbg-package=ceph-fuse-dbg
        dh_strip -prbd-fuse --dbg-package=rbd-fuse-dbg
+       dh_strip -prbd-nbd --dbg-package=rbd-nbd-dbg
        dh_strip -pceph-common --dbg-package=ceph-common-dbg
        dh_strip -pceph-fs-common --dbg-package=ceph-fs-common-dbg
        dh_strip -plibrados2 --dbg-package=librados2-dbg