Accepting request 330895 from home:dimstar:Factory
- Own %{_systemdshutdowndir} in case nothing else does. This ensures build success even if systemd-mini does not own it (happens in some versions of our package). OBS-URL: https://build.opensuse.org/request/show/330895 OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=136
This commit is contained in:
committed by
Git OBS Bridge
parent
f0b1949aef
commit
7773c657a3
@@ -108,6 +108,10 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
|
||||
/etc/cron.daily/mdadm
|
||||
%dir /etc/cron.d
|
||||
%config /etc/cron.d/mdadm
|
||||
# %%{_systemdshutdowndir}/ is not owned by all versions of systemd-mini.
|
||||
# But we really do not want to pull in a full systemd, so we rather just own
|
||||
# that directory by ourselves too. After all, this is allowed.
|
||||
%dir %{_systemdshutdowndir}
|
||||
%{_systemdshutdowndir}/mdadm.shutdown
|
||||
%{_unitdir}/mdmon@.service
|
||||
%{_unitdir}/mdmonitor.service
|
||||
|
Reference in New Issue
Block a user