consoleconf: watch changes on install

This commit is contained in:
Dimitri John Ledkov 2020-04-06 17:24:18 +01:00
parent a5c106be0c
commit 7b4bcb9922
1 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,13 @@ if [ "$(snap managed)" = "true" ]; then
exit 0 exit 0
fi fi
if grep -q 'snapd_recovery_mode=install' /proc/cmdline; then
snap watch --last=install-system
snap tasks --last=install-system
read REPLY
exit 0
fi
cat /usr/share/subiquity/console-conf-wait cat /usr/share/subiquity/console-conf-wait
read REPLY read REPLY
exec console-conf "$@" exec console-conf "$@"