1
0
forked from pool/virtualbox

Accepting request 835129 from home:fbui:branches:Virtualization

- Make use of %service_del_postun_without_restart
  And stop using DISABLE_RESTART_ON_UPDATE as this interface is
  obsolete.

OBS-URL: https://build.opensuse.org/request/show/835129
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=573
This commit is contained in:
Larry Finger 2020-09-17 16:28:55 +00:00 committed by Git OBS Bridge
parent 3547c62a02
commit 19c33a8c33
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 11 17:58:07 UTC 2020 - Franck Bui <fbui@suse.com>
- Make use of %service_del_postun_without_restart
And stop using DISABLE_RESTART_ON_UPDATE as this interface is
obsolete.
-------------------------------------------------------------------
Thu Sep 10 16:12:11 UTC 2020 - Larry Finger <Larry.Finger@gmail.com>

View File

@ -899,9 +899,8 @@ exit 0
%restart_on_update vboxdrv
%restart_on_update vboxautostart
# immediately restarting virtualbox may not work. As such wait for the next reboot to restart
export DISABLE_RESTART_ON_UPDATE=yes
%service_del_postun vboxautostart.service
%service_del_postun vboxdrv.service
%service_del_postun_without_restart vboxautostart.service
%service_del_postun_without_restart vboxdrv.service
%postun guest-tools
%restart_on_update vboxadd