summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/repack-jdk-linux.sh
blob: 2d13e360e512ff2e52434791290b69bbe9879a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -x -e -v

# This script is for fetching and repacking the OpenJDK (for
# Linux)

AVD_JSON_CONFIG="$1"

mkdir -p $UPLOAD_DIR

# Populate /builds/worker/.mozbuild/jdk
cd $GECKO_PATH
./mach python python/mozboot/mozboot/android.py --jdk-only

tar cavf $UPLOAD_DIR/jdk-linux.tar.zst -C /builds/worker/.mozbuild jdk

ls -al $UPLOAD_DIR