Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- CI | DietPi-Build: Minor
  • Loading branch information
MichaIng committed Oct 30, 2023
1 parent 781c758 commit d279b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .build/images/dietpi-build
Original file line number Diff line number Diff line change
Expand Up @@ -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_

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d279b05

Please sign in to comment.