From 7f5b382c994d8b13f3c813efb03ae87a0a05b18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Thu, 7 Dec 2017 11:17:57 -0600 Subject: lt-qcom/lava-job-definitions: base_template change to use google tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The debian tools aren't the last one stable availables so use the last platform tools provided by google, tested [1]. [1] https://validation.linaro.org/scheduler/job/1658906 Change-Id: I31e5812ae24d79dfbf22cc9f877c36401326c429 Signed-off-by: Aníbal Limón --- .../dragonboard-410c/base_template.yaml | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml b/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml index 5b367e1e03..63c0f7f8f3 100644 --- a/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml +++ b/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml @@ -12,8 +12,8 @@ actions: minutes: 5 to: lxc packages: - - android-tools-adb - - android-tools-fastboot + - wget + - unzip - img2simg - simg2img - e2fsprogs @@ -56,6 +56,27 @@ actions: compression: ${ROOTFS_URL_COMP} os: ${DEPLOY_OS} +- test: + namespace: tlxc + timeout: + minutes: 10 + definitions: + - from: inline + name: install-google-fastboot + path: inline/install-google-fastboot.yaml + repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: install-fastboot + description: "Install fastboot provided by google" + run: + steps: + - wget https://dl.google.com/android/repository/platform-tools_r26.0.2-linux.zip + - unzip platform-tools_r26.0.2-linux.zip + - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot + - ln -s `pwd`/platform-tools/adb /usr/bin/adb + - fastboot --version + - test: namespace: tlxc timeout: -- cgit v1.2.3