diff options
Diffstat (limited to 'system/s6/s6.post-upgrade')
-rw-r--r-- | system/s6/s6.post-upgrade | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/system/s6/s6.post-upgrade b/system/s6/s6.post-upgrade index 26d289c27..91459ad9f 100644 --- a/system/s6/s6.post-upgrade +++ b/system/s6/s6.post-upgrade @@ -1,24 +1,16 @@ #!/bin/sh -e -newv="$1" -oldv="$2" - rm -f /etc/runlevels/default/s6 -if test `apk version -t "$oldv" 2.8` = "<" ; then - - cat <<EOF - -* -* The s6 package has been upgraded. To complete the upgrade, you need to -* restart the supervision tree - with the following command, run as root: -* -* s6-svscanctl -t /run/service -* -* Running this command will instantly log everyone out of all the -* terminals that are listed in the GETTYS variable in /etc/conf.d/gettys -* - so please save your work first. -* +vnew="$1" +vold="$2" -EOF +if test `apk version -t $vnew 2.13` != '<' && test `apk version -t $vold 2.13` = '<' ; then + echo + echo '***' + echo 'The s6 package has undergone an ABI change.' + echo 'Please reboot at your earliest convenience. Commands such as s6-svstat' + echo 'may not work until you do so.' + echo '***' + echo fi |