]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: package crimson-osd in ceph-osd 35845/head
authorKefu Chai <kchai@redhat.com>
Tue, 30 Jun 2020 08:14:16 +0000 (16:14 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 30 Jun 2020 08:14:18 +0000 (16:14 +0800)
in hope to simplify the enabling of crimson-osd. as we will use cephadm
as the way for deploying crimson-osd in future. it's unlikely we will
have classic osd and crimson osd co-located in the same system. so
this is most simple way to enable crimson-osd with minimum efforts.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index 258fb613b0fde28008ad6d064b4cffd0c5774140..9f95c16c88b0977d257eff8be978609ac3d39083 100644 (file)
@@ -1199,6 +1199,12 @@ make DESTDIR=%{buildroot} install
 # we have dropped sysvinit bits
 rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
 popd
+
+%if 0%{with seastar}
+# package crimson-osd with the name of ceph-osd
+install -m 0755 %{buildroot}%{_bindir}/crimson-osd %{buildroot}%{_bindir}/ceph-osd
+%endif
+
 install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
 %if 0%{?fedora} || 0%{?rhel}
 install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph