Skip to content

Commit

Permalink
Fix building Android TV boxes
Browse files Browse the repository at this point in the history
Fixes #436
  • Loading branch information
petefoth committed Nov 22, 2024
1 parent 00b87c6 commit a6b3213
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/new_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,13 @@ for codename in ${devices//,/ }; do
continue
fi

if [ "$WITH_GMS" = true ]; then
echo ">> [$(date)] Populating vendor/partner_gms-tv/products" | tee -a "$repo_log"
rm -rf "$source_dir/vendor/partner_gms-tv" || true
mkdir -p "$source_dir/vendor/partner_gms-tv/products"
cp -r "$source_dir/vendor/partner_gms/products/" "$source_dir/vendor/partner_gms-tv/" | tee -a "$DEBUG_LOG"
fi

if [ "$CALL_GIT_LFS_PULL" = true ]; then
echo ">> [$(date)] Calling git lfs pull" | tee -a "$repo_log"
repo forall -v -c git lfs pull &>> "$repo_log"
Expand Down

2 comments on commit a6b3213

@Elbandi
Copy link

@Elbandi Elbandi commented on a6b3213 Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/root/new_build.sh: line 284: WITH_GMS: unbound variable

@petefoth
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/root/new_build.sh: line 284: WITH_GMS: unbound variable

Fixed in 078d5aa

Please sign in to comment.