From: Rancor Date: Fri, 16 Jan 2015 20:59:33 +0000 (+0100) Subject: Added docs how to get platform cache files (closes #53) X-Git-Tag: 0.4.0~135^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a144edc455e6bdb15116fb50107244d08c0eac4b;p=fdroidserver.git Added docs how to get platform cache files (closes #53) --- diff --git a/docs/fdroid.texi b/docs/fdroid.texi index 16990e20..06aab0e0 100644 --- a/docs/fdroid.texi +++ b/docs/fdroid.texi @@ -1471,7 +1471,23 @@ provisioning scripts detect these, they will be used in preference to running the android tools. For example, if you have @code{buildserver/addons/cache/platforms/android-19.tar.gz} that will be used when installing the android-19 platform, instead of re-downloading it -using @code{android update sdk --no-ui -t android-19}. +using @code{android update sdk --no-ui -t android-19}. It is possible to +create the cache files of this additions from a local installation of the +SDK including these: + +@example +cd /path/to/android-sdk/platforms +tar czf android-19.tar.gz android-19 +mv android-19.tar.gz /path/to/buildserver/addons/cache/platforms/} +@end example + +If you have already built a buildserver it is also possible to get this +files directly from the buildserver: + +@example +vagrant ssh -- -C 'tar -C ~/android-sdk/platforms czf android-19.tar.gz android-19' +vagrant ssh -- -C 'cat ~/android-sdk/platforms/android-19.tar.gz' > /path/to/fdroidserver/buildserver/cache/platforms/android19.tar.gz +@end example Once it's complete you'll have a new base box called 'buildserver' which is what's used for the actual builds. You can then build packages as normal,