Merge pull request #1141 from openoms/armbian

build_sdcard: add missing dependencies for Armbian
This commit is contained in:
Christian Rotzoll 2020-04-27 13:53:23 +02:00 committed by GitHub
commit 3a7ef5dfc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,15 @@ sudo apt-get install -y fbi
sudo apt install -y sysbench
# check for dependencies on DietPi, Ubuntu, Armbian
sudo apt-get install -y build-essential
sudo apt install -y build-essential
if [ "${baseImage}" = "armbian" ]; then
# add armbian config
sudo apt --fix-broken install -y
sudo apt install armbian-config -y
# dependencies for Armbian Buster minimal kernel 5.4
sudo apt install -y python3-venv python3-dev python3-wheel
fi
# rsync is needed to copy from HDD
sudo apt install -y rsync
# install ifconfig