|
@@ -1825,6 +1825,7 @@ image_setup_utils() {
|
1825
|
1825
|
echo "export PATH=\$PATH:\$GOPATH" >> "${rootdir}/home/go/.bashrc"
|
1826
|
1826
|
chroot "$rootdir" chown -R go:go /home/go
|
1827
|
1827
|
cp "${rootdir}/home/go/go${GO_VERSION}/bin/"* "${rootdir}/usr/bin"
|
|
1828
|
+ echo "upgrade_golang:$GO_VERSION" >> "${rootdir}/root/${PROJECT_NAME}-completed.txt"
|
1828
|
1829
|
|
1829
|
1830
|
# Tomb
|
1830
|
1831
|
chroot "$rootdir" apt-get -yq install zsh pinentry-curses
|
|
@@ -1832,7 +1833,7 @@ image_setup_utils() {
|
1832
|
1833
|
cd "$rootdir/root/build/tomb" || exit 468368345425
|
1833
|
1834
|
git checkout "$TOMB_COMMIT" -b "$TOMB_COMMIT"
|
1834
|
1835
|
chroot "$rootdir" cd /root/build/tomb && make install
|
1835
|
|
- echo "tomb commit:$TOMB_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
|
|
1836
|
+ echo "tomb commit:$TOMB_COMMIT" >> "$rootdir/root/${PROJECT_NAME}-completed.txt"
|
1836
|
1837
|
|
1837
|
1838
|
if ! grep -q '\* hard maxsyslogins' "$rootdir/etc/security/limits.conf"; then
|
1838
|
1839
|
echo '* hard maxsyslogins 10' >> "$rootdir/etc/security/limits.conf"
|