console-conf-wrapper: show snapd log during install

This will help finding some of the current install problems by
showing the snapd log on the terminal during the install.
This commit is contained in:
Michael Vogt 2020-05-18 08:46:25 +02:00
parent 2ea7f6cd5a
commit c5ee7c95d5
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ fi
if grep -q 'snapd_recovery_mode=install' /proc/cmdline ; then if grep -q 'snapd_recovery_mode=install' /proc/cmdline ; then
echo "Installing the system, please wait for reboot" echo "Installing the system, please wait for reboot"
snap watch --last=install-system || true
snap change --last=install-system || true
journalctl -u snapd.service -f
sleep infinity sleep infinity
fi fi