apt-get update during build phase
This commit is contained in:
parent
327fc3b8b9
commit
2b2f9079bb
@ -6,6 +6,11 @@ set -e
|
|||||||
echo "The Things Network RPi + IC880A Gateway Builder/Installer"
|
echo "The Things Network RPi + IC880A Gateway Builder/Installer"
|
||||||
echo ""
|
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,
|
# Build in a temp folder that we'll completely purge after build,
|
||||||
# and install into the linux folder where apps reside.
|
# and install into the linux folder where apps reside.
|
||||||
|
|
||||||
|
2
run.sh
2
run.sh
@ -149,7 +149,7 @@ echo -e "{\n\
|
|||||||
# Set gateway_ID in local_conf.json to the gateway's MAC address
|
# Set gateway_ID in local_conf.json to the gateway's MAC address
|
||||||
|
|
||||||
echo "******************"
|
echo "******************"
|
||||||
apt-get update && apt-get install iproute
|
apt-get install iproute
|
||||||
./set-gateway-id.sh start ./local_conf.json
|
./set-gateway-id.sh start ./local_conf.json
|
||||||
echo "******************"
|
echo "******************"
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user