aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d/30_yocto
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL/tasks.d/30_yocto')
-rw-r--r--INSTALL/tasks.d/30_yocto6
1 files changed, 4 insertions, 2 deletions
diff --git a/INSTALL/tasks.d/30_yocto b/INSTALL/tasks.d/30_yocto
index 652ea5f..60bb428 100644
--- a/INSTALL/tasks.d/30_yocto
+++ b/INSTALL/tasks.d/30_yocto
@@ -1,4 +1,6 @@
#!/bin/bash
+
+set -e
# install prereqs for bitbake (Yocto mega-manual)
# http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#detailed-supported-distros
@@ -18,7 +20,7 @@ apt-get install -y git-review
apt-get install -y libncurses5-dev
# copy meta init script in ~devel/bin:
-wget -O $DEVUSER_HOME/bin/prepare_meta https://raw.githubusercontent.com/iotbzh/agl-manifest/master/prepare_meta
+wget -t 3 -T 60 -O $DEVUSER_HOME/bin/prepare_meta https://raw.githubusercontent.com/iotbzh/agl-manifest/master/prepare_meta
chmod +x $DEVUSER_HOME/bin/*
# for image creation and compression
@@ -36,6 +38,6 @@ for x in $INSTDIR/tools/scripts_yocto/*; do
done
# grab and install repo tool
-wget -O /usr/local/bin/repo https://storage.googleapis.com/git-repo-downloads/repo
+wget -t 3 -T 60 -O /usr/local/bin/repo https://storage.googleapis.com/git-repo-downloads/repo
chmod a+x /usr/local/bin/repo