summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-13 16:38:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-13 16:38:19 -0400
commit88085c8126bea4d25f3371a5d657d94995e280f5 (patch)
tree40529c6ad8ea20cc4752eb49afe6db888d62fdaf
parent36fe7618acf4c602781f28f0cfd084b7a4e641be (diff)
blog for the day
-rw-r--r--doc/design/assistant/blog/day_187__porting_utilities.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/design/assistant/blog/day_187__porting_utilities.mdwn b/doc/design/assistant/blog/day_187__porting_utilities.mdwn
new file mode 100644
index 000000000..496c74a1f
--- /dev/null
+++ b/doc/design/assistant/blog/day_187__porting_utilities.mdwn
@@ -0,0 +1,22 @@
+Ported all the utilities git-annex needs to run on Android:
+git, rsync, gnupg, dropbear (ssh client), busybox. Built a
+Makefile that can download, patch, and cross build these from source.
+
+While all the utilities work, dropbear doesn't allow git-annex to use ssh
+connection caching, which is rather annoying especially since these systems
+tend to be rather slow and take a while to start up ssh connections.
+I'd sort of like to try to get openssh's client working on Android instead.
+Don't know how realistic that is.
+
+Dealt with several parts of git-annex that assumed `/bin/sh` exists,
+so it instead uses `/system/bin/sh` on Android. Also adapted `runshell`
+for Android.
+
+Now I have a 8 mb compressed tarball for Android.
+Uncompressed it's 25 mb. This includes a lot of git and busybox
+commands that won't be used, so it could be trimmed down further.
+16 mb of it is git-annex itself.
+
+[[Instructions for using the Android tarball|install/Android]]
+This is for users who are rather brave, not afraid of command line and
+keyboard usage. Good first step.