From 2fdbe3706321e706bb249c60ae0242998bd247ce Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 8 Feb 2024 10:54:20 -0500 Subject: [PATCH] bin: add lineageos4microg build script --- .../executable_lineageos4microg_build_redfin | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dot_local/bin/executable_lineageos4microg_build_redfin diff --git a/dot_local/bin/executable_lineageos4microg_build_redfin b/dot_local/bin/executable_lineageos4microg_build_redfin new file mode 100644 index 0000000..7f6ff7f --- /dev/null +++ b/dot_local/bin/executable_lineageos4microg_build_redfin @@ -0,0 +1,20 @@ +#!/bin/sh + +set -x + +podman pull lineageos4microg/docker-lineage-cicd + +podman run \ + -e "BRANCH_NAME=lineage-20.0" \ + -e "DEVICE_LIST=redfin" \ + -e "SIGN_BUILDS=true" \ + -e "SIGNATURE_SPOOFING=restricted" \ + -e "WITH_GMS=true" \ + -e "PARALLEL_JOBS=10" \ + -v "$ANDROID_HOME/lineage:/srv/src" \ + -v "$ANDROID_HOME/lineageos4microg/zips:/srv/zips" \ + -v "$ANDROID_HOME/lineageos4microg/logs:/srv/logs" \ + -v "$XDG_CACHE_HOME/ccache:/srv/ccache" \ + -v "$ANDROID_HOME/lineageos4microg/keys:/srv/keys" \ + -v "$ANDROID_HOME/lineageos4microg/manifests:/srv/local_manifests" \ + lineageos4microg/docker-lineage-cicd