64 lines
1.8 KiB
Bash
64 lines
1.8 KiB
Bash
#!/bin/bash
|
|
|
|
############################
|
|
# CONFIGURABLE OPTIONS
|
|
#
|
|
DEVICE=vayu
|
|
DOS_AVB_BUILD=true
|
|
|
|
GIT_USER_NAME=
|
|
GIT_USER_EMAIL=
|
|
|
|
# Volume where dir is going to be mounted
|
|
BASE_DIR=/android
|
|
|
|
# enable caching for faster builds
|
|
USE_CCACHE=1
|
|
CCACHE_COMPRESS=true
|
|
CCACHE_COMPRESSLEVEL=1
|
|
CCACHE_MAX_SIZE=25G
|
|
|
|
# cache dir inside the container
|
|
CCACHE_DIR="$BASE_DIR/ccache"
|
|
|
|
GPG_KEY_FILE="$BASE_DIR/keys.gpg"
|
|
GPG_PASSWORD=
|
|
|
|
GNUPGHOME="$BASE_DIR/.gnupg"
|
|
|
|
# LineageOS repo options
|
|
LINEAGEOS_VERSION=19.1
|
|
LINEAGEOS_REPO=https://github.com/LineageOS/android.git
|
|
LINEAGEOS_BRANCH=lineage-$LINEAGEOS_VERSION
|
|
|
|
PROPRIETARY_BLOBS_DIR=$BASE_DIR/$DEVICE-blobs
|
|
PROPRIETARY_BLOBS_REPO=https://code.ataraxiadev.com/AtaraxiaDev/lineageos-devices-proprietary-files.git
|
|
PROPRIETARY_BLOBS_BRANCH=$DEVICE-$LINEAGEOS_VERSION
|
|
# path to your device folder, relative to LineageOS repo, that contains 'extract-files.sh' file
|
|
# for example: device/xiaomi/vayu
|
|
LINEAGEOS_DEVICE_DIR="device/xiaomi/vayu"
|
|
|
|
# DivestOS init script configurable options
|
|
DIVESTOS_REPO=https://code.ataraxiadev.com/AtaraxiaDev/divestos-build.git
|
|
DOS_WORKSPACE_ROOT=$BASE_DIR"/divestos/"
|
|
DOS_BUILDS=$BASE_DIR"/builds/"
|
|
DOS_SIGNING_KEYS=$DOS_WORKSPACE_ROOT"/Signing_Keys/"
|
|
DOS_SIGNING_GPG=$GNUPGHOME
|
|
DOS_REMOVE_AFTER=true
|
|
DOS_REMOVE_AFTER_FULL=false
|
|
DOS_GPG_SIGNING=true
|
|
DOS_GPG_SIGNING_KEY=
|
|
DOS_BRANDING_SERVER_OTA=
|
|
DOS_BRANDING_SERVER_OTA_ONION=
|
|
DOS_MICROG_INCLUDED=FULL
|
|
# if you want to use custom local_manifest
|
|
# LOCALMANIFEST_PATH=$BASE_DIR/local_manifest.xml
|
|
LOCALMANIFEST_PATH=
|
|
# or you can use repo, instead of file
|
|
LOCAL_MANIFEST_REPO=https://code.ataraxiadev.com/AtaraxiaDev/divestos-local-manifests.git
|
|
LOCAL_MANIFEST_BRANCH=$DEVICE
|
|
|
|
|
|
# Use gocryptfs for storing your signing keys. Enabled if password is set
|
|
GOCRYPTFS_PASS=
|
|
GOCRYPTFS_DIR=$DOS_WORKSPACE_ROOT"/.Signing_Keys" |