Workaround systemd conflic

epel9
Jeremy Newton 10 years ago
parent f05b781601
commit 4693a3989f

@ -64,7 +64,8 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset
install -D -m 644 tlp.service %{buildroot}%{_unitdir}/tlp.service install -D -m 644 tlp.service %{buildroot}%{_unitdir}/tlp.service
install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service install -D -m 644 tlp-sleep.service %{buildroot}%{_unitdir}/tlp-sleep.service
#THIS IS A WORKAROUND FOR RFKILL! #THIS IS A WORKAROUND FOR RFKILL!
ln -sf /dev/null %{buildroot}%{_sysconfdir}/systemd/system/systemd-rfkill@.service ln -sf /dev/null systemd-rfkill@.service
install -D systemd-rfkill@.service %{buildroot}%{_sysconfdir}/systemd/system/systemd-rfkill@.service
%files %files
%config(noreplace) %{_sysconfdir}/default/tlp %config(noreplace) %{_sysconfdir}/default/tlp

Loading…
Cancel
Save