Update luckfox-install.sh

This commit is contained in:
nagumii 2024-11-16 16:45:08 +02:00
parent 3bcdfe674c
commit a69449236b

View file

@ -7,11 +7,15 @@ date -d "$(wget --method=HEAD -qSO- --max-redirect=0 google.com 2>&1 | grep Date
echo "*** Changed timezone to UTC and got network time ***\e[0m"
#update system and install dependencies
echo "*** Updating Ubuntu and installing dependencies... ***\e[0m"
echo "*** Updating and upgrading Ubuntu... ***\e[0m"
sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y update && sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y upgrade
echo "*** Ubuntu upgrade / update complete ***\e[0m"
echo "*** Installing necessary packages... ***\e[0m"
sudo apt-get install linux-firmware wireless-tools git python3.10-venv libgpiod-dev libyaml-cpp-dev libbluetooth-dev openssl libssl-dev libulfius-dev liborcania-dev -y
echo "*** Necessary packages installed ***\e[0m"
echo "*** Installing pip packages... ***\e[0m"
pip3 install pytap2 meshtastic pypubsub
echo "*** Done updating and installing dependencies ***\e[0m"
echo "*** Pip packages installed ***\e[0m"
#get latest meshtasticd beta
echo "*** Getting latest Meshtasticd beta... ***\e[0m"