diff options
author | Rob Herring <rob.herring@linaro.org> | 2016-12-09 07:27:04 -0600 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-12-09 14:24:27 +0000 |
commit | c62e9c9fe0d7e6db94019a81e2840033b95614c7 (patch) | |
tree | 365f8b1b35bb201c55be2129feb0f4207756bbfa /robher-aosp.yaml | |
parent | 0ce5b5deca96d5c1a59e1ac1c1e00c931a9b373d (diff) |
robher-aosp: use common LCR builder setup scripts
The builder setup script is now broken for xenial. Switch to using the
common LCR setup script.
Change-Id: Iff1645936c098cfeef332321aa01136783009fbd
Signed-off-by: Rob Herring <rob.herring@linaro.org>
Diffstat (limited to 'robher-aosp.yaml')
-rw-r--r-- | robher-aosp.yaml | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/robher-aosp.yaml b/robher-aosp.yaml index 663af2316c..dcbf89f001 100644 --- a/robher-aosp.yaml +++ b/robher-aosp.yaml @@ -32,32 +32,13 @@ builders: - linaro-publish-token: host: snapshots.linaro.org + - shell: + !include-raw: android-lcr/common/builders.sh - shell: | #!/bin/bash set -ex - java -version - - sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list - sudo apt-get update || true - sudo apt-get install -y gcc-4.9-multilib bison git gperf libxml2-utils python-mako zip time python-pycurl genisoimage patch mtools libfdt-dev python-mako gettext openjdk-8-jdk - - mkdir -p ${HOME}/bin ${WORKSPACE}/build/out - curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo - wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - chmod a+x ${HOME}/bin/* - export PATH=${HOME}/bin:${PATH} - - if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then - sudo mkdir -p /home/buildslave/srv/${JOB_NAME} - sudo chmod 777 /home/buildslave/srv/${JOB_NAME} - fi - cd /home/buildslave/srv/${JOB_NAME} - - git config --global user.email "ci_notify@linaro.org" - git config --global user.name "Linaro CI" - # Clean any artifacts related to previous build rm -rf out/target/product/*/system/ out/target/product/*/data/ out/target/product/*/*.xml out/target/product/*/obj/kernel/ rm -rf out/target/product/*/*.zip out/target/product/*/*.img out/target/product/*/*.xz |