Accepting request 334902 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/334902 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tuned?expand=0&rev=11
This commit is contained in:
commit
d1d9c2faf4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 29 12:41:36 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Fix build for openSUSE Leap (lack of tmpfiles.d macro)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 17 16:10:42 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
|
@ -157,7 +157,11 @@ ln -sf service %{buildroot}%{_sbindir}/rctuned
|
||||
|
||||
%post
|
||||
%service_add_post %{name}.service
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
%if 0%{?suse_version} <= 1320
|
||||
systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf >/dev/null 2>&1 || :
|
||||
%else
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
%endif
|
||||
# convert active_profile from full path to name (if needed)
|
||||
sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user