1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-09-20 12:22:40 +02:00

Wrong property set for the OTA URL

We should use PRODUCT_PROPERTY_OVERRIDES which seems to be kept until the final stage where the build.prop is being built
This commit is contained in:
Julian Xhokaxhiu 2017-01-22 00:28:03 +01:00
parent 9821556629
commit 1bf0736112

View File

@ -49,7 +49,7 @@ if ! [ -z "$DEVICE_LIST" ]; then
# Set a custom updater URI if a OTA URL is provided
if ! [ -z "$OTA_URL" ]; then
echo ">> [$(date)] Adding OTA URL '$OTA_URL' to build.prop"
sed -i "1s;^;ADDITIONAL_DEFAULT_PROPERTIES += cm.updater.uri=$OTA_URL\n\n;" vendor/cm/config/common.mk
sed -i "1s;^;PRODUCT_PROPERTY_OVERRIDES += cm.updater.uri=$OTA_URL\n\n;" vendor/cm/config/common.mk
fi
# Cycle DEVICE_LIST environment variable, to know which one may be executed next