- Don't try to apply presets to any services shipped by the experimental sub-package

Experimental services will never be enabled by default.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1300
This commit is contained in:
Franck Bui 2022-07-19 12:36:24 +00:00 committed by Git OBS Bridge
parent 3afc4cd3df
commit 127267652e
2 changed files with 7 additions and 18 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 19 12:31:24 UTC 2022 - Franck Bui <fbui@suse.com>
- Don't try to apply presets to any services shipped by the experimental sub-package
Experimental services will never be enabled by default.
-------------------------------------------------------------------
Tue Jul 19 12:18:35 UTC 2022 - Franck Bui <fbui@suse.com>

View File

@ -1272,24 +1272,6 @@ fi
%service_del_postun systemd-portabled.service
%endif
%if %{with experimental}
%pre experimental
%service_add_pre systemd-userdbd.service systemd-userdbd.socket
%service_add_pre systemd-homed.service
%post experimental
%service_add_post systemd-userdbd.service systemd-userdbd.socket
%service_add_post systemd-homed.service
%preun experimental
%service_del_preun systemd-userdbd.service systemd-userdbd.socket
%service_del_preun systemd-homed.service
%postun experimental
%service_del_postun systemd-userdbd.service systemd-userdbd.socket
%service_del_postun systemd-homed.service
%endif
%files
%defattr(-,root,root)
%include %{SOURCE200}