- Issue a daemon-reload in %post of the main package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-default-settings?expand=0&rev=12
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 19 14:29:34 UTC 2020 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Issue a daemon-reload in %post of the main package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 19 06:26:27 UTC 2020 - Franck Bui <fbui@suse.com>
|
Thu Nov 19 06:26:27 UTC 2020 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@@ -84,6 +84,13 @@ find %{buildroot} -name 20-defaults-SUSE.conf -printf "/%%P\n" >>SUSE.list
|
|||||||
find %{buildroot} -name 25-defaults-SLE.conf -printf "/%%P\n" >SLE.list
|
find %{buildroot} -name 25-defaults-SLE.conf -printf "/%%P\n" >SLE.list
|
||||||
find %{buildroot} -name 25-defaults-openSUSE.conf -printf "/%%P\n" >openSUSE.list
|
find %{buildroot} -name 25-defaults-openSUSE.conf -printf "/%%P\n" >openSUSE.list
|
||||||
|
|
||||||
|
%post
|
||||||
|
# Reloading PID1 is probably not enough as some changes will require
|
||||||
|
# service restarts or even a reboot. But it might be useful in a few
|
||||||
|
# cases so...
|
||||||
|
[ -x /usr/bin/systemctl ] &&
|
||||||
|
/usr/bin/systemctl systemctl daemon-reload || :
|
||||||
|
|
||||||
%files -f SUSE.list
|
%files -f SUSE.list
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user