mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
buildserver: ignore android sdk repos of proprietary bits
The Android SDK by default includes some Google repositories of their proprietary SDKs. We of course do not want that stuff ever. We also do not need the emulator images since this process does not currently install or run an emulator.
This commit is contained in:
parent
b5e57a7aa6
commit
5af53238d3
@ -23,6 +23,22 @@ if [ ! -x $ANDROID_HOME/tools/android ]; then
|
|||||||
unzip -qq $tools
|
unzip -qq $tools
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable the repositories of proprietary stuff
|
||||||
|
disabled="
|
||||||
|
@version@=1
|
||||||
|
@disabled@https\://dl.google.com/android/repository/extras/intel/addon.xml=disabled
|
||||||
|
@disabled@https\://dl.google.com/android/repository/glass/addon.xml=disabled
|
||||||
|
@disabled@https\://dl.google.com/android/repository/sys-img/android/sys-img.xml=disabled
|
||||||
|
@disabled@https\://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml=disabled
|
||||||
|
@disabled@https\://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml=disabled
|
||||||
|
@disabled@https\://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml=disabled
|
||||||
|
"
|
||||||
|
test -d ${HOME}/.android || mkdir ${HOME}/.android
|
||||||
|
for line in $disabled; do
|
||||||
|
echo $line >> ${HOME}/.android/sites-settings.cfg
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
cd /vagrant/cache
|
cd /vagrant/cache
|
||||||
|
|
||||||
# make links for `android update sdk` to use and delete
|
# make links for `android update sdk` to use and delete
|
||||||
|
Loading…
Reference in New Issue
Block a user