Files
emcomm-tools-os-community/scripts/install-base.sh
T

38 lines
669 B
Bash
Raw Normal View History

#!/bin/bash
#
# Author : Gaston Gonzalez
# Date : 16 March 2024
2024-10-06 06:52:57 -07:00
# Updated : 4 October 2024
# Purpose : Install base tools
set -e
2024-10-06 06:52:57 -07:00
et-log "Installing environment variables"
grep ET_TEMP_DIR /etc/environment
if [ $? -ne 0 ]; then
echo "ET_TEMP_DIR=/tmp/et" >> /etc/environment
fi
grep ET_LOG_FILE /etc/environment
if [ $? -ne 0 ]; then
echo "ET_LOG_FILE=/tmp/et/et.log" >> /etc/environment
fi
et-log "Installing message of the day
2024-05-27 13:42:38 -07:00
cp -v ../overlay/etc/motd /etc/
et-log "Installing base packages"
apt install \
build-essential \
cmake \
curl \
gpg \
jq \
net-tools \
openjdk-11-jdk \
openssh-server \
screen \
stow \
2024-05-27 13:42:38 -07:00
xsel \
tree \
-y