From f12015954afaa4d24eec13ac411bbcdd57051046 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Tue, 28 Mar 2023 19:53:08 +0200 Subject: [PATCH] distro-agnostic: emit 'info' message before setting root password, otherwise logs are confusing --- lib/functions/rootfs/distro-agnostic.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/functions/rootfs/distro-agnostic.sh b/lib/functions/rootfs/distro-agnostic.sh index 5151034fa0..78793d0337 100644 --- a/lib/functions/rootfs/distro-agnostic.sh +++ b/lib/functions/rootfs/distro-agnostic.sh @@ -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