aboutsummaryrefslogtreecommitdiff
path: root/automated/android/workload-automation
diff options
context:
space:
mode:
authorKarsten Tausche <karsten@fairphone.com>2018-03-20 10:47:31 +0100
committerKarsten Tausche <karsten@fairphone.com>2018-03-20 11:54:22 +0100
commit3546a7caae6bc9213dcaf6f80d0f3bcf83b6ebfb (patch)
tree7464c1834d9986c00b15c9b9a94f56f26a291556 /automated/android/workload-automation
parent584800b4209a9f318afb74d0c13effbfb9a5050f (diff)
Always run apt-get update after dpkg --add-architecture
install_deps() in sh-test-lib only triggers apt-get update every 6 hours. It does not see that the apt cache is outdated after adding a new architecture, so the update needs to be called manually. Change-Id: I60a9bb5f2ee4af2bf1a7d58f8e74d354fa9ce4af
Diffstat (limited to 'automated/android/workload-automation')
-rwxr-xr-xautomated/android/workload-automation/workload-automation.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/automated/android/workload-automation/workload-automation.sh b/automated/android/workload-automation/workload-automation.sh
index bbd5c46..68c997d 100755
--- a/automated/android/workload-automation/workload-automation.sh
+++ b/automated/android/workload-automation/workload-automation.sh
@@ -51,6 +51,7 @@ else
PKGS="git wget zip tar xz-utils python python-yaml python-lxml python-setuptools python-numpy python-colorama python-pip sqlite3 lib32stdc++6 lib32z1 lib32gcc1 lib32ncurses5 aapt time sysstat python-jinja2 curl"
! check_root && error_msg "Please run this test as root."
dpkg --add-architecture i386
+ apt-get update -q
install_deps "${PKGS}"
# only install adb if it's not already available
which adb || install_deps adb