Skip to content

Commit

Permalink
Warn on use of 'WITH_GMS'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanchon committed Aug 2, 2023
1 parent d436725 commit 9b02a92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,13 @@ for branch in ${BRANCH_NAME//,/ }; do
if [ "$WITH_MICROG" = true ]; then
echo '$(call inherit-product, vendor/partner_gms/products/gms.mk)' > "vendor/$vendor/config/partner_gms.mk"
fi
if [ "$WITH_GMS" = true ]; then
if [ "$WITH_MICROG" = true ]; then
echo ">> [$(date)] WARNING: free space for addons be will not be reserved when both WITH_MICROG and WITH_GMS are enabled"
else
echo ">> [$(date)] WARNING: WITH_GMS will not reserve free space for addons and is deprecated in favor of WITH_MICROG"
fi
fi

# If needed, apply the microG's signature spoofing patch
if [ "$SIGNATURE_SPOOFING" = "yes" ] || [ "$SIGNATURE_SPOOFING" = "restricted" ]; then
Expand Down

0 comments on commit 9b02a92

Please sign in to comment.