]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
packaging: add an rbd-mirror package
authorJosh Durgin <jdurgin@redhat.com>
Thu, 4 Feb 2016 07:44:10 +0000 (23:44 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 4 Feb 2016 08:10:16 +0000 (00:10 -0800)
Depend on ceph-common for /etc/ceph. Startup scripts will be added later.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
ceph.spec.in
debian/control
debian/rbd-mirror.install [new file with mode: 0644]
debian/rules

index 1010df625bc9d72920b0d3380ae89cec905090f1..c5ee7e18c9f353da8e741e1942431ccf07172f2e 100644 (file)
@@ -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,-)
index 94c5b427d2238c54c1da8b744fbee1e19c8f1314..bab1aca4dff68f562290e2a7fc2b9c04c742389c 100644 (file)
@@ -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 (file)
index 0000000..80f8210
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin/rbd-mirror
+usr/share/man/man8/rbd-mirror.8
index 3bb2cdfc7226e5d061c12a398517357a260b76ae..d01b0918ef5da87f72da53c7940b2f959e3660d5 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-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