]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec: prepare openSUSE usrmerge (boo#1029961) 40401/head
authorLudwig Nussel <ludwig.nussel@suse.de>
Thu, 25 Mar 2021 09:32:21 +0000 (10:32 +0100)
committerLudwig Nussel <ludwig.nussel@suse.de>
Thu, 25 Mar 2021 09:35:35 +0000 (10:35 +0100)
The compat symlink in /sbin is no longer required and actually in
the way in the usrmerge case.

Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
ceph.spec.in

index 0a8db16df2dfea1be4d65437d90da5ca79ea86bc..aa3c967657ab9d44e48b6db80082278cb9ce03c5 100644 (file)
@@ -1409,7 +1409,7 @@ touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
 chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
 
 # firewall templates and /sbin/mount.ceph symlink
-%if 0%{?suse_version}
+%if 0%{?suse_version} && !0%{?usrmerged}
 mkdir -p %{buildroot}/sbin
 ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
 %endif
@@ -1585,7 +1585,7 @@ exit 0
 %{_bindir}/rbd-replay-many
 %{_bindir}/rbdmap
 %{_sbindir}/mount.ceph
-%if 0%{?suse_version}
+%if 0%{?suse_version} && !0%{?usrmerged}
 /sbin/mount.ceph
 %endif
 %if %{with lttng}