SHA256
1
0
forked from pool/systemd

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

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1303
This commit is contained in:
Franck Bui 2022-08-18 07:02:18 +00:00 committed by Git OBS Bridge
parent 35f4443993
commit 7e306f4f89
2 changed files with 22 additions and 7 deletions

View File

@ -23,13 +23,6 @@ Mon Aug 15 10:25:34 UTC 2022 - Dr. Werner Fink <werner@suse.de>
src/home/homed-manager.c, and src/home/homework-mount.c as well
to avoid that <linux/fs.h> does include <linux/mount.h>
-------------------------------------------------------------------
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,6 +1272,28 @@ fi
%service_del_postun systemd-portabled.service
%endif
%if %{with experimental}
%pre experimental
%service_add_pre systemd-homed.service
%service_add_pre systemd-oomd.service systemd-oomd.socket
%service_add_pre systemd-userdbd.service systemd-userdbd.socket
%post experimental
%service_add_post systemd-homed.service
%service_add_post systemd-oomd.service systemd-oomd.socket
%service_add_post systemd-userdbd.service systemd-userdbd.socket
%preun experimental
%service_del_preun systemd-homed.service
%service_del_preun systemd-oomd.service systemd-oomd.socket
%service_del_preun systemd-userdbd.service systemd-userdbd.socket
%postun experimental
%service_del_postun systemd-homed.service
%service_del_postun systemd-oomd.service systemd-oomd.socket
%service_del_postun systemd-userdbd.service systemd-userdbd.socket
%endif
%files
%defattr(-,root,root)
%include %{SOURCE200}