repack-android-system-images-linux.sh (554B)
1 #!/bin/bash 2 set -x -e -v 3 4 # This script is for fetching and repacking the Android SDK (for 5 # Linux), the tools required to produce Android packages. 6 7 AVD_JSON_CONFIG="$1" 8 9 mkdir -p $UPLOAD_DIR 10 11 # Populate /builds/worker/.mozbuild/android-sdk-linux. 12 cd $GECKO_PATH 13 ./mach python python/mozboot/mozboot/android.py --artifact-mode --system-images-only --avd-manifest="$AVD_JSON_CONFIG" --no-interactive --list-packages 14 15 tar cavf $UPLOAD_DIR/android-system-images-linux.tar.zst -C /builds/worker/.mozbuild android-sdk-linux/system-images 16 17 ls -al $UPLOAD_DIR