distro-agnostic: emit 'info' message before setting root password, otherwise logs are confusing

This commit is contained in:
Ricardo Pardini 2023-03-28 19:53:08 +02:00 committed by Igor Pečovnik
parent d868d76182
commit f12015954a

View File

@ -125,6 +125,7 @@ function install_distribution_agnostic() {
chroot_sdcard dpkg-reconfigure -f noninteractive tzdata
# set root password. it is written to the log, of course. Escuse the escaping needed here.
display_alert "Setting root password" "" "info"
chroot_sdcard "(" echo "'${ROOTPWD}'" ";" echo "'${ROOTPWD}'" ";" ")" "|" passwd root
# enable automated login to console(s)
@ -387,7 +388,7 @@ function install_distribution_agnostic() {
# install armbian-plymouth-theme
if [[ $PLYMOUTH == yes ]]; then
install_deb_chroot "${DEB_STORAGE}/${image_artifacts_debs["armbian-plymouth-theme"]}"
install_deb_chroot "${DEB_STORAGE}/${image_artifacts_debs["armbian-plymouth-theme"]}"
fi
# install wireguard tools