diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2012-02-27 18:23:41 +0200 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2012-02-27 18:23:41 +0200 |
commit | abe19c1970facd5a65288e4cdb3f704af5863476 (patch) | |
tree | b12e029149bf327ad499a30a9b87fdcdb457d0b0 /node | |
parent | e5216faeff9d3a8012a311f734c9a7fa0113bf9b (diff) |
Install packages as last step, not first, to workaround S3 mirror issues.
Diffstat (limited to 'node')
-rwxr-xr-x | node/setup-build-android | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/node/setup-build-android b/node/setup-build-android index 966eff3..63d8621 100755 --- a/node/setup-build-android +++ b/node/setup-build-android @@ -10,6 +10,15 @@ set -xe +# get latest repo script and install it in PATH +#wget http://android.git.kernel.org/repo +# Use our mirror of repo +wget 'http://android.git.linaro.org/gitweb?p=tools/repo.git;a=blob_plain;f=repo;hb=refs/heads/stable' -O repo +mv repo /usr/local/bin/repo +chmod a+x /usr/local/bin/repo + +adduser --system jenkins-build + sed -i.bk 's,^\(.*://[^.]*.ec2.archive.ubuntu.com\)/,\1.s3.amazonaws.com/,' /etc/apt/sources.list apt-get update @@ -79,13 +88,3 @@ apt-get install -y \ # valgrind \ # libx11-dev \ # x11proto-core-dev \ - - -# get latest repo script and install it in PATH -#wget http://android.git.kernel.org/repo -# Use our mirror of repo -wget 'http://android.git.linaro.org/gitweb?p=tools/repo.git;a=blob_plain;f=repo;hb=refs/heads/stable' -O repo -mv repo /usr/local/bin/repo -chmod a+x /usr/local/bin/repo - -adduser --system jenkins-build |