summaryrefslogtreecommitdiffstats
path: root/ceph.spec.in
diff options
context:
space:
mode:
authorNathan Cutler <ncutler@suse.com>2016-07-06 10:13:03 +0200
committerNathan Cutler <ncutler@suse.com>2016-07-18 15:36:29 +0200
commitb090e9da326a72068260682599c886c2d11f06b3 (patch)
tree8ce8ac6ed25d211ad066bb7d78bedcc143ecf2bc /ceph.spec.in
parentos/bluestore: revert preferred csum behavior (diff)
downloadceph-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.in6
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