-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.env.example
More file actions
52 lines (41 loc) · 1.86 KB
/
build.env.example
File metadata and controls
52 lines (41 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Android Build Configuration
# Copy this file to build.env and customize for your device
# This file is used by both Kubernetes (via values.yaml) and standalone Docker
# ROM Source Configuration
# URL to the Android/ROM manifest repository (LineageOS, crDroid, AOSP, etc.)
MANIFEST_URL="https://github.com/LineageOS/android"
# Android version branch name (check your ROM's repository for available branches)
# Examples: "lineage-21.0", "16.0", "android-14.0.0_r1"
BRANCH_NAME="lineage-21.0"
# Device Configuration
# Device codename (e.g., dm1q, cheetah, blueline, etc.)
DEVICE_CODENAME="your_device_codename"
# Kernel directory path (relative to source root)
# Examples: "kernel/google/gs201", "kernel/samsung/sm8550", "kernel/qcom/sm8350"
KERNEL_DIR="kernel/manufacturer/device"
# Build Options
# Whether to sign builds with release keys (true/false)
SIGN_BUILDS="true"
# Subject line for signing keys (used when generating release keys)
KEYS_SUBJECT="/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com"
# Whether to clean build directory before building (true/false)
# Warning: This will significantly increase build time
CLEAN="false"
# Allow building with missing dependencies (true/false)
ALLOW_MISSING_DEPENDENCIES="true"
# Build Parallelism
# Number of concurrent compilation jobs (passed as -j flag to make)
# Options:
# "auto" - Auto-detect based on container memory limit (memory_GB / 5)
# number - Explicit job count (e.g., "8", "12", "16")
# Rule of thumb for manual setting: memory_limit_GB / 5
# Examples: 40GB→"8", 60GB→"12", 80GB→"16"
BUILD_JOBS="auto"
# Git Configuration
# Your name and email for git commits (optional, but recommended)
GIT_AUTHOR_NAME=""
GIT_AUTHOR_EMAIL=""
# SSH Access (optional)
# Your SSH public key for accessing the build container
# Leave empty if you don't need SSH access
PUBLIC_SSH_KEY=""