Do not restart VMs during core-dom0 upgrade (#191)
This commit is contained in:
parent
102d5735e7
commit
e01b29dd76
@ -174,7 +174,11 @@ for i in /usr/share/qubes/icons/*.png ; do
|
|||||||
xdg-icon-resource install --novendor --size 48 $i
|
xdg-icon-resource install --novendor --size 48 $i
|
||||||
done
|
done
|
||||||
|
|
||||||
service qubes_core start
|
# Because we now have an installer
|
||||||
|
# this script is always executed during upgrade
|
||||||
|
# and we decided not to restart core during upgrade
|
||||||
|
#service qubes_core start
|
||||||
|
|
||||||
|
|
||||||
if [ "x"$HAD_SYSCONFIG_NETWORK = "xno" ]; then
|
if [ "x"$HAD_SYSCONFIG_NETWORK = "xno" ]; then
|
||||||
rm -f /etc/sysconfig/network
|
rm -f /etc/sysconfig/network
|
||||||
@ -191,7 +195,10 @@ fi
|
|||||||
if [ "$1" -gt 1 ] ; then
|
if [ "$1" -gt 1 ] ; then
|
||||||
# upgrading already installed package...
|
# upgrading already installed package...
|
||||||
|
|
||||||
/etc/init.d/qubes_core stop
|
# Do not restart core during upgrade
|
||||||
|
# most upgrades only modifies qvm-* tools
|
||||||
|
# and it makes no sense to force all VMs shutdown
|
||||||
|
# /etc/init.d/qubes_core stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerin -- xen
|
%triggerin -- xen
|
||||||
|
Loading…
Reference in New Issue
Block a user