console-conf: show journal log during install

Display the snapd journal while the system installs. This will
give us important clues what might go wrong during a install
and also gives the user some sense of progress.

For post-beta we need to think if we really want to display this
level of detail. OTOH we don't expect people to watch the console
during firstboot yet and if that will happen we need to also tweak
a bunch more (like kernel messages, systemd messages etc).
This commit is contained in:
Michael Vogt 2020-05-19 11:19:27 +02:00
parent c5ee7c95d5
commit e748115ea9
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ fi
if grep -q 'snapd_recovery_mode=install' /proc/cmdline ; then
echo "Installing the system, please wait for reboot"
snap watch --last=install-system || true
snap change --last=install-system || true
# XXX: replace with something more user friendly after the beta?
journalctl -u snapd.service -f
sleep infinity
fi