chiark / gitweb /
Added docs how to get platform cache files (closes #53)
authorRancor <fisch.666@gmx.de>
Fri, 16 Jan 2015 20:59:33 +0000 (21:59 +0100)
committerRancor <fisch.666@gmx.de>
Fri, 16 Jan 2015 20:59:33 +0000 (21:59 +0100)
docs/fdroid.texi

index 16990e207e0e7cf7b46313d7d24d15f01fe65b45..06aab0e01cd7cb39c3d542db2789f1ec18430ae3 100644 (file)
@@ -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,