forked from pool/mdadm
Accepting request 1045464 from Base:System
- mdadm.spec: create the following symbolic link in /sbin for compatibility, /sbin/mdadm -> /usr/sbin/mdadm /sbin/mdmon -> /usr/sbin/mdmon (jsc#PED-1009, jsc#PED-947) (forwarded request 1045353 from colyli) OBS-URL: https://build.opensuse.org/request/show/1045464 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=139
This commit is contained in:
commit
04c255ddf2
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 26 05:01:33 UTC 2022 - Coly Li <colyli@suse.com>
|
||||
|
||||
- mdadm.spec: create the following symbolic link in /sbin for
|
||||
compatibility,
|
||||
/sbin/mdadm -> /usr/sbin/mdadm
|
||||
/sbin/mdmon -> /usr/sbin/mdmon
|
||||
(jsc#PED-1009, jsc#PED-947)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 08:42:17 UTC 2022 - Coly Li <colyli@suse.com>
|
||||
|
||||
|
@ -177,6 +177,11 @@ install -m 644 %{S:2} %{buildroot}%{_fillupdir}/
|
||||
install -d %{buildroot}%{_systemdshutdowndir}
|
||||
install -d %{buildroot}%{_sbindir}
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
|
||||
%if !0%{?usrmerged}
|
||||
mkdir -p %{buildroot}/sbin
|
||||
ln -s %{_sbindir}/mdadm %{buildroot}/sbin/mdadm
|
||||
ln -s %{_sbindir}/mdmon %{buildroot}/sbin/mdmon
|
||||
%endif
|
||||
|
||||
%define services mdmonitor.service mdcheck_start.service mdcheck_continue.service mdmonitor-oneshot.service
|
||||
|
||||
@ -205,6 +210,10 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
|
||||
%doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html}
|
||||
%doc %{_mandir}/man?/*
|
||||
%{_sbindir}/*
|
||||
%if !0%{?usrmerged}
|
||||
/sbin/mdadm
|
||||
/sbin/mdmon
|
||||
%endif
|
||||
%dir /usr/share/mdadm
|
||||
/usr/share/mdadm/*
|
||||
%{_fillupdir}/sysconfig.mdadm
|
||||
|
Loading…
Reference in New Issue
Block a user