Skip to content

Commit

Permalink
add rbd-nbd package
Browse files Browse the repository at this point in the history
Signed-off-by: Yunchuan Wen <[email protected]>
  • Loading branch information
Yunchuan Wen committed Nov 21, 2015
1 parent 5ac1cbf commit 7bbd54a
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,-)
Expand Down
27 changes: 27 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 2 additions & 0 deletions debian/rbd-nbd.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/bin/rbd-nbd
usr/share/man/man8/rbd-nbd.8
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bbd54a

Please sign in to comment.