From bb391754752fac58305158ecd969bd8b812c384a Mon Sep 17 00:00:00 2001 From: MichaIng Date: Tue, 31 Oct 2023 19:06:11 +0100 Subject: [PATCH] v8.24 - CI | Gogs: Install Go as build dependency --- .build/software/dietpi-software-build.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.build/software/dietpi-software-build.bash b/.build/software/dietpi-software-build.bash index fee2bc01f7..4a27dcf19f 100644 --- a/.build/software/dietpi-software-build.bash +++ b/.build/software/dietpi-software-build.bash @@ -113,6 +113,9 @@ _EOF_ G_EXEC ln -s /etc/systemd/system/dietpi-automation.service rootfs/etc/systemd/system/multi-user.target.wants/ fi +# Install Go for Gogs +[[ $NAME == 'gogs' ]] && G_CONFIG_INJECT 'AUTO_SETUP_INSTALL_SOFTWARE_ID=' 'AUTO_SETUP_INSTALL_SOFTWARE_ID=188' rootfs/boot/dietpi.txt + # Workaround invalid TERM on login # shellcheck disable=SC2016 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'