mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
ETC - Initial install of EmComm Tools applications
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
ET_HOME=/opt/emcomm-tools
|
||||||
|
ET_USER=games
|
||||||
|
ET_GROUP=games
|
||||||
|
ET_TEMP_DIR=/tmp/et
|
||||||
|
ET_LOG_FILE=$ET_TEMP_DIR/et.log
|
||||||
|
ET_DIST_DIR=/opt/dist
|
||||||
|
ET_SRC_DIR=/opt/src
|
||||||
|
PATH="/opt/emcomm-tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
|
||||||
+7
-14
@@ -2,25 +2,18 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 16 March 2024
|
# Date : 16 March 2024
|
||||||
# Updated : 4 October 2024
|
# Updated : 6 October 2024
|
||||||
# Purpose : Install base tools
|
# Purpose : Install base tools and configuration
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
et-log "Installing environment variables"
|
et-log "Installing environment variables..."
|
||||||
grep ET_TEMP_DIR /etc/environment
|
cp -v ../overlay/etc/environment /etc/
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "ET_TEMP_DIR=/tmp/et" >> /etc/environment
|
|
||||||
fi
|
|
||||||
|
|
||||||
grep ET_LOG_FILE /etc/environment
|
et-log "Installing message of the day..."
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "ET_LOG_FILE=/tmp/et/et.log" >> /etc/environment
|
|
||||||
fi
|
|
||||||
|
|
||||||
et-log "Installing message of the day
|
|
||||||
cp -v ../overlay/etc/motd /etc/
|
cp -v ../overlay/etc/motd /etc/
|
||||||
|
|
||||||
et-log "Installing base packages"
|
et-log "Installing base packages..."
|
||||||
|
|
||||||
apt install \
|
apt install \
|
||||||
build-essential \
|
build-essential \
|
||||||
cmake \
|
cmake \
|
||||||
|
|||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 6 October 2024
|
||||||
|
# Purpose : Install EmComm Tools applications
|
||||||
|
|
||||||
|
et-log "Installing EmComm Tools applications..."
|
||||||
|
|
||||||
|
if [ ! -e $ET_HOME ]; then
|
||||||
|
mkdir -v -p $ET_HOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -v -r overlay/$ET_HOME/* $ET_HOME
|
||||||
|
chown -v -R $ET_USER:$ET_GROUP $ET_HOME
|
||||||
@@ -22,6 +22,7 @@ exitIfNotRoot
|
|||||||
./configure-gnome.sh
|
./configure-gnome.sh
|
||||||
./configure-user.sh
|
./configure-user.sh
|
||||||
|
|
||||||
|
./install-emcomm-tools.sh
|
||||||
./fix-panasonic-brightness.sh
|
./fix-panasonic-brightness.sh
|
||||||
|
|
||||||
./install-hamlib.sh
|
./install-hamlib.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user