Accepting request 925227 from hardware
- Fix systemd service file pointing to fillup file instead of /etc/sysconfig/rasdaemon OBS-URL: https://build.opensuse.org/request/show/925227 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rasdaemon?expand=0&rev=17
This commit is contained in:
commit
c5f5326a71
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 14 09:33:08 UTC 2021 - Thomas Renninger <trenn@suse.de>
|
||||||
|
|
||||||
|
- Fix systemd service file pointing to fillup file instead of
|
||||||
|
/etc/sysconfig/rasdaemon
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 12 13:36:44 UTC 2021 - trenn@suse.de
|
Tue Oct 12 13:36:44 UTC 2021 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ an utility for reporting current error counts from the EDAC sysfs files.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
%configure --enable-all --with-sysconfdefdir=%{_fillupdir}
|
%configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
||||||
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
|
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -64,7 +64,7 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl
|
|||||||
rm INSTALL %{buildroot}/usr/include/*.h
|
rm INSTALL %{buildroot}/usr/include/*.h
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon
|
mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon
|
||||||
mkdir -p %{buildroot}%{_fillupdir}
|
mkdir -p %{buildroot}%{_fillupdir}
|
||||||
mv %{buildroot}%{_fillupdir}/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre rasdaemon.service ras-mc-ctl.service
|
%service_add_pre rasdaemon.service ras-mc-ctl.service
|
||||||
|
Loading…
Reference in New Issue
Block a user