aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL/tasks.d/30_yocto6
-rw-r--r--INSTALL/tasks.d/80_xds2
2 files changed, 5 insertions, 3 deletions
diff --git a/INSTALL/tasks.d/30_yocto b/INSTALL/tasks.d/30_yocto
index bda9332..0edb311 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
diff --git a/INSTALL/tasks.d/80_xds b/INSTALL/tasks.d/80_xds
index f3d9477..b3a709d 100644
--- a/INSTALL/tasks.d/80_xds
+++ b/INSTALL/tasks.d/80_xds
@@ -2,7 +2,7 @@
export DISTRO="Debian_8.0"
-wget -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/Release.key | apt-key add -
+wget -t 3 -T 60 -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/Release.key | apt-key add -
cat >> /etc/apt/sources.list.d/AGL.list <<EOF
deb http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/ ./