apt-get update during build phase

This commit is contained in:
Ray Ozzie
2016-04-10 16:32:36 -04:00
parent 327fc3b8b9
commit 2b2f9079bb
2 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,11 @@ set -e
echo "The Things Network RPi + IC880A Gateway Builder/Installer"
echo ""
# Make sure that we're able to do apt-get's quickly at runtime
# to install necessary tools. Tough to pay the price here,
# but it's still better here than at device startup.
apt-get update
# Build in a temp folder that we'll completely purge after build,
# and install into the linux folder where apps reside.