From d279b05dcadda2a8f688a3308b43b09206fe58c6 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Mon, 30 Oct 2023 19:27:22 +0100 Subject: [PATCH] v8.24 - CI | DietPi-Build: Minor --- .build/images/dietpi-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.build/images/dietpi-build b/.build/images/dietpi-build index 3ace06f078..99be157016 100755 --- a/.build/images/dietpi-build +++ b/.build/images/dietpi-build @@ -415,7 +415,7 @@ G_EXEC umount rootfs/dev rootfs/run rootfs/var/cache/apt rootfs/var/lib/apt/list cat << '_EOF_' > rootfs/etc/rc.local #!/bin/dash { -infocmp "$TERM" > /dev/null 2>&1 || TERM='dumb' +infocmp "$TERM" > /dev/null 2>&1 || { echo "[ WARN ] Unsupported TERM=\"$TERM\", switching to TERM=\"dumb\""; export TERM=dumb; } echo '[ INFO ] Running DietPi-Installer...' _EOF_ @@ -605,7 +605,7 @@ _EOF_ # Workaround invalid TERM on login # shellcheck disable=SC2016 - G_EXEC eval 'echo '\''infocmp "$TERM" > /dev/null 2>&1 || { echo "[ INFO ] Unsupported TERM=\"$TERM\", switching to TERM=\"dumb\""; export TERM=dumb; }'\'' > rootfs/etc/bashrc.d/00-dietpi-build.sh' + G_EXEC eval 'echo '\''infocmp "$TERM" > /dev/null 2>&1 || { echo "[ WARN ] Unsupported TERM=\"$TERM\", switching to TERM=\"dumb\""; export TERM=dumb; }'\'' > rootfs/etc/bashrc.d/00-dietpi-build.sh' # Workaround for failing IPv4 network connectivity check as GitHub Actions runners do not receive external ICMP echo replies. G_CONFIG_INJECT 'CONFIG_CHECK_CONNECTION_IP=' 'CONFIG_CHECK_CONNECTION_IP=127.0.0.1' rootfs/boot/dietpi.txt