1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Set DEBUG_LOG after setup overlays

This commit is contained in:
Pete 2024-09-02 18:01:53 +01:00
parent bbceafb66b
commit 38000b6628

@ -209,7 +209,6 @@ for codename in ${devices//,/ }; do
else else
logsubdir= logsubdir=
fi fi
DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log"
# `repo init` # `repo init`
# ToDo: do we need to add REPO_VERSION - see https://github.com/lineageos-infra/build-config/commit/312e3242d04db35945ce815ab35864a86b14b866 # 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_minor=$(sed -n -e 's/^\s*PRODUCT_VERSION_MINOR = //p' "$makefile_containing_version")
los_ver="$los_ver_major.$los_ver_minor" 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 # Add custom packages to be installed
if [ -n "$CUSTOM_PACKAGES" ]; then if [ -n "$CUSTOM_PACKAGES" ]; then
echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)" echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)"