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 authored Aug 2, 2023
1 parent a66bbc9 commit 0026823
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ for branch in ${BRANCH_NAME//,/ }; do
# If needed, include microG's components
#sed -i 's/$(WITH_GMS)/$(WITH_GMS)$(WITH_MICROG)/g' "vendor/$vendor/config/partner_gms.mk"
sed -i 's/ifeq ($(WITH_GMS),true)/ifneq ($(filter true,$(WITH_GMS) $(WITH_MICROG)),)/g' "vendor/$vendor/config/partner_gms.mk"
if [ "$WITH_GMS" = "true" ]; then
echo ">> [$(date)] WARNING: WITH_GMS is deprecated in favor of WITH_MICROG"
echo ">> [$(date)] see: https://github.com/lineageos4microg/docker-lineage-cicd/issues/358"
fi

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

0 comments on commit 0026823

Please sign in to comment.