Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- CI | Gogs: Install Go as build dependency
  • Loading branch information
MichaIng committed Oct 31, 2023
1 parent d1ebbbb commit bb39175
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .build/software/dietpi-software-build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit bb39175

Please sign in to comment.