From 1ee9524f4fb91f31186ccfd50602ced494b925f3 Mon Sep 17 00:00:00 2001 From: Philip Nagler-Frank Date: Fri, 28 Jan 2022 19:10:55 +0100 Subject: [PATCH] default value and docs for BUILD_TYPE --- Dockerfile | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5c26fde..ea44d34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,6 +110,9 @@ ENV DELETE_OLD_ZIPS 0 # Delete old logs in $LOGS_DIR, keep only the N latest one (0 to disable) ENV DELETE_OLD_LOGS 0 +# build type of your builds (user|userdebug|eng) +ENV BUILD_TYPE "userdebug" + # You can optionally specify a USERSCRIPTS_DIR volume containing these scripts: # * begin.sh, run at the very beginning # * before.sh, run after the syncing and patching, before starting the builds diff --git a/README.md b/README.md index 7886388..9b57f9c 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ Other useful settings are: when set to `false`, you can still enable root by flashing the [su installable ZIP][los-extras]) * `RELEASE_TYPE (UNOFFICIAL)`: change the release type of your builds - * `BUILD_TYPE (userdebug)`: change the build type of your builds (user|userdebug|eng) + * `BUILD_TYPE (userdebug)`: type of your builds, see [Android docs](https://source.android.com/setup/build/building#choose-a-target) * `BUILD_OVERLAY (false)`: normally each build is done on the source tree, then the tree is cleaned with `mka clean`. If you want to be sure that each build is isolated from the others, set `BUILD_OVERLAY` to `true` (longer build