From: Josh Durgin Date: Thu, 4 Feb 2016 07:44:10 +0000 (-0800) Subject: packaging: add an rbd-mirror package X-Git-Tag: v10.0.4~41^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f0166728b84c97bfa7b55deb697b15d4adc5e50;p=ceph.git packaging: add an rbd-mirror package Depend on ceph-common for /etc/ceph. Startup scripts will be added later. Signed-off-by: Josh Durgin --- diff --git a/ceph.spec.in b/ceph.spec.in index 1010df625bc9..c5ee7e18c9f3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -260,6 +260,16 @@ Requires: librbd1 = %{epoch}:%{version}-%{release} %description -n rbd-fuse FUSE based client to map Ceph rbd images to files +%package -n rbd-mirror +Summary: Ceph daemon for mirroring RBD images +Group: System Environment/Base +Requires: %{name} +Requires: ceph-common = %{epoch}:%{version}-%{release} +Requires: librados2 = %{epoch}:%{version}-%{release} +%description -n rbd-mirror +Daemon for mirroring RBD images between Ceph clusters, streaming +changes asynchronously. + %package -n rbd-nbd Summary: Ceph RBD client base on NBD Group: System Environment/Base @@ -993,6 +1003,12 @@ fi %{_bindir}/rbd-fuse %{_mandir}/man8/rbd-fuse.8* +################################################################################# +%files -n rbd-mirror +%defattr(-,root,root,-) +%{_bindir}/rbd-mirror +%{_mandir}/man8/rbd-mirror.8* + ################################################################################# %files -n rbd-nbd %defattr(-,root,root,-) diff --git a/debian/control b/debian/control index 94c5b427d223..bab1aca4dff6 100644 --- a/debian/control +++ b/debian/control @@ -192,6 +192,32 @@ Description: debugging symbols for rbd-fuse . This package contains the debugging symbols for rbd-fuse. +Package: rbd-mirror +Architecture: linux-any +Depends: ceph-common (= ${binary:Version}), + librados2 (= ${binary:Version}), + ${misc:Depends}, ${shlibs:Depends} +Description: Ceph daemon for mirroring RBD images + 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 + daemon for mirroring RBD images between Ceph clusters, streaming + changes asynchronously. + +Package: rbd-mirror-dbg +Architecture: linux-any +Section: debug +Priority: extra +Depends: rbd-mirror (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for rbd-mirror + 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 + daemon for mirroring RBD images between Ceph clusters, streaming + changes asynchronously. + . + This package contains the debugging symbols for rbd-mirror. + Package: rbd-nbd Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends} diff --git a/debian/rbd-mirror.install b/debian/rbd-mirror.install new file mode 100644 index 000000000000..80f8210361c5 --- /dev/null +++ b/debian/rbd-mirror.install @@ -0,0 +1,2 @@ +usr/bin/rbd-mirror +usr/share/man/man8/rbd-mirror.8 diff --git a/debian/rules b/debian/rules index 3bb2cdfc7226..d01b0918ef5d 100755 --- a/debian/rules +++ b/debian/rules @@ -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-mirror --dbg-package=rbd-mirror-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