diff options
author | Nathan Cutler <ncutler@suse.com> | 2016-07-06 10:13:03 +0200 |
---|---|---|
committer | Nathan Cutler <ncutler@suse.com> | 2016-07-18 15:36:29 +0200 |
commit | b090e9da326a72068260682599c886c2d11f06b3 (patch) | |
tree | 8ce8ac6ed25d211ad066bb7d78bedcc143ecf2bc /ceph.spec.in | |
parent | os/bluestore: revert preferred csum behavior (diff) | |
download | ceph-b090e9da326a72068260682599c886c2d11f06b3.tar.xz ceph-b090e9da326a72068260682599c886c2d11f06b3.zip |
rpm: create mount.ceph symlink in /sbin (SUSE only)
Fixes: http://tracker.ceph.com/issues/16598
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index c64cbd70d09..06efb65c026 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -708,10 +708,11 @@ install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/cep chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf chmod 0644 %{buildroot}%{_docdir}/ceph/sample.fetch_config -# firewall templates +# firewall templates and /sbin/mount.ceph symlink %if 0%{?suse_version} install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-mon %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds +ln -sf %{buildroot}%{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph %endif # udev rules @@ -758,6 +759,9 @@ rm -rf %{buildroot} %{_sbindir}/ceph-create-keys %{_sbindir}/rcceph %{_sbindir}/mount.ceph +%if 0%{?suse_version} +/sbin/mount.ceph +%endif %dir %{_libexecdir}/ceph %{_libexecdir}/ceph/ceph_common.sh %dir %{_libdir}/rados-classes |