Accepting request 841315 from home:olh:branches:network:ha-clustering:Factory
- Move block-drbd back to /etc/xen/scripts (bsc#1177531) The change in xen.spec was reverted, but the revert was not applied to this pkg OBS-URL: https://build.opensuse.org/request/show/841315 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd-utils?expand=0&rev=100
This commit is contained in:
parent
efdc823598
commit
d6fa1ac3e6
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 12 12:12:12 UTC 2020 - ohering@suse.de
|
||||||
|
|
||||||
|
- Move block-drbd back to /etc/xen/scripts (bsc#1177531)
|
||||||
|
The change in xen.spec was reverted, but the revert was not applied
|
||||||
|
to this pkg
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 11 02:35:49 UTC 2020 - nick wang <nwang@suse.com>
|
Fri Sep 11 02:35:49 UTC 2020 - nick wang <nwang@suse.com>
|
||||||
|
|
||||||
|
@ -117,20 +117,6 @@ make OPTFLAGS="%{optflags}" %{?_smp_mflags}
|
|||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/drbd
|
mkdir -p %{buildroot}%{_localstatedir}/lib/drbd
|
||||||
%ifnarch %{ix86} x86_64
|
%ifnarch %{ix86} x86_64
|
||||||
rm -rf %{buildroot}%{_sysconfdir}/xen
|
rm -rf %{buildroot}%{_sysconfdir}/xen
|
||||||
%else
|
|
||||||
d=%{_libexecdir}/xen/scripts
|
|
||||||
mkdir -p %{buildroot}$d
|
|
||||||
mv %{buildroot}%{_sysconfdir}/xen/scripts/block-drbd %{buildroot}$d
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
rm -rf %{buildroot}%{_sysconfdir}/xen
|
|
||||||
%else
|
|
||||||
tee %{buildroot}%{_sysconfdir}/xen/scripts/block-drbd <<_EOS_
|
|
||||||
#!/bin/sh
|
|
||||||
# SUSE versions up to SLE15 populated /etc with files.
|
|
||||||
# This wrapper exists to remain compatible with their expected script path
|
|
||||||
exec $d/block-drbd "\$@"
|
|
||||||
_EOS_
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -183,13 +169,10 @@ ln -sf drbdmon-9.0.8.gz %{_mandir}/ja/man8/drbdmon.8.gz
|
|||||||
/sbin/drbdmon
|
/sbin/drbdmon
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%if 0%{?suse_version} <= 1500
|
|
||||||
%dir %attr(700,root,root) %{_sysconfdir}/xen
|
%dir %attr(700,root,root) %{_sysconfdir}/xen
|
||||||
%dir %{_sysconfdir}/xen/scripts
|
%dir %{_sysconfdir}/xen/scripts
|
||||||
%attr(755,root,root) %{_sysconfdir}/xen/scripts/block-drbd
|
%attr(755,root,root) %{_sysconfdir}/xen/scripts/block-drbd
|
||||||
%endif
|
%endif
|
||||||
%{_libexecdir}/xen
|
|
||||||
%endif
|
|
||||||
%{_prefix}/lib/ocf/resource.d/linbit/drbd
|
%{_prefix}/lib/ocf/resource.d/linbit/drbd
|
||||||
%{_prefix}/lib/ocf/resource.d/linbit/drbd.shellfuncs.sh
|
%{_prefix}/lib/ocf/resource.d/linbit/drbd.shellfuncs.sh
|
||||||
%{_udevrulesdir}/65-drbd.rules
|
%{_udevrulesdir}/65-drbd.rules
|
||||||
|
Loading…
Reference in New Issue
Block a user