From 38000b66289ca0562386f615c70d084b23d10474 Mon Sep 17 00:00:00 2001 From: Pete Date: Mon, 2 Sep 2024 18:01:53 +0100 Subject: [PATCH] Set DEBUG_LOG after setup overlays --- src/new_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/new_build.sh b/src/new_build.sh index ed83d08..69792d3 100755 --- a/src/new_build.sh +++ b/src/new_build.sh @@ -209,7 +209,6 @@ for codename in ${devices//,/ }; do else logsubdir= fi - DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log" # `repo init` # ToDo: do we need to add REPO_VERSION - see https://github.com/lineageos-infra/build-config/commit/312e3242d04db35945ce815ab35864a86b14b866 @@ -268,6 +267,8 @@ for codename in ${devices//,/ }; do los_ver_minor=$(sed -n -e 's/^\s*PRODUCT_VERSION_MINOR = //p' "$makefile_containing_version") los_ver="$los_ver_major.$los_ver_minor" + DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log" + # Add custom packages to be installed if [ -n "$CUSTOM_PACKAGES" ]; then echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)"