Merge PR #36939 into master

* refs/pull/36939/head:
	ceph.spec, debian: changes for building cephfs-mirror daemon

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2020-09-02 07:35:13 -07:00
commit 374bf2faa7
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB
4 changed files with 40 additions and 0 deletions

View File

@ -599,6 +599,17 @@ Requires: python%{python3_pkgversion}
%description fuse
FUSE based client for Ceph distributed network file system
%package -n cephfs-mirror
Summary: Ceph daemon for mirroring CephFS snapshots
%if 0%{?suse_version}
Group: System/Filesystems
%endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
%description -n cephfs-mirror
Daemon for mirroring CephFS snapshots between Ceph clusters.
%package -n rbd-fuse
Summary: Ceph fuse-based client
%if 0%{?suse_version}
@ -1750,6 +1761,9 @@ fi
%{_unitdir}/ceph-fuse@.service
%{_unitdir}/ceph-fuse.target
%files -n cephfs-mirror
%{_bindir}/cephfs-mirror
%files -n rbd-fuse
%{_bindir}/rbd-fuse
%{_mandir}/man8/rbd-fuse.8*

1
debian/cephfs-mirror.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/cephfs-mirror

24
debian/control vendored
View File

@ -453,6 +453,30 @@ Description: debugging symbols for ceph-fuse
.
This package contains the debugging symbols for ceph-fuse.
Package: cephfs-mirror
Architecture: linux-any
Depends: ceph-common (= ${binary:Version}),
librados2 (= ${binary:Version}),
libcephfs2 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: 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 CephFS
directory snapshots between Ceph clusters.
Package: cephfs-mirror-dbg
Architecture: linux-any
Section: debug
Priority: extra
Depends: cephfs-mirror (= ${binary:Version}),
${misc:Depends}
Description: debugging symbols for cephfs-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 CephFS
directory snapshots between Ceph clusters.
Package: rbd-fuse
Architecture: linux-any
Depends: ${misc:Depends},

1
debian/rules vendored
View File

@ -106,6 +106,7 @@ override_dh_strip:
dh_strip -pceph-mon --dbg-package=ceph-mon-dbg
dh_strip -pceph-osd --dbg-package=ceph-osd-dbg
dh_strip -pceph-base --dbg-package=ceph-base-dbg
dh_strip -pcephfs-mirror --dbg-package=cephfs-mirror-dbg
dh_strip -prbd-fuse --dbg-package=rbd-fuse-dbg
dh_strip -prbd-mirror --dbg-package=rbd-mirror-dbg
dh_strip -pceph-immutable-object-cache --dbg-package=ceph-immutable-object-cache-dbg