diff options
Diffstat (limited to 'taskcluster/scripts/misc/repack-android-emulator-linux.sh')
-rwxr-xr-x | taskcluster/scripts/misc/repack-android-emulator-linux.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/taskcluster/scripts/misc/repack-android-emulator-linux.sh b/taskcluster/scripts/misc/repack-android-emulator-linux.sh index a9745d7a1e..277e6dff09 100755 --- a/taskcluster/scripts/misc/repack-android-emulator-linux.sh +++ b/taskcluster/scripts/misc/repack-android-emulator-linux.sh @@ -11,12 +11,19 @@ cd $GECKO_PATH ./mach python python/mozboot/mozboot/android.py --emulator-only --no-interactive --list-packages # Bug 1868944: override emulator to a known working version -curl -L http://dl.google.com/android/repository/emulator-linux_x64-10696886.zip > /tmp/emulator.zip +curl --fail -L http://dl.google.com/android/repository/emulator-linux_x64-10696886.zip > /tmp/emulator.zip cd /builds/worker/.mozbuild/android-sdk-linux rm -rf emulator unzip /tmp/emulator.zip cd $GECKO_PATH +# Bug 1880925: override platform-tools to a known working version +curl --fail -L https://dl.google.com/android/repository/platform-tools_r34.0.5-linux.zip > /tmp/platform-tools.zip +cd /builds/worker/.mozbuild/android-sdk-linux +rm -rf platform-tools +unzip /tmp/platform-tools.zip +cd $GECKO_PATH + # Remove extra files we don't need rm -rfv /builds/worker/.mozbuild/android-sdk-linux/tools mkdir /builds/worker/.mozbuild/android-sdk-linux/system-images |