use proot to support Android 8

runshell: Use proot when running on Android, to work around Android 8's
ill-advised seccomp filtering of system calls, including ones crucial for
reliable thread locking. (This will only work with termux's version of
proot.)

See https://github.com/termux/termux-packages/issues/420#issuecomment-386636938

This commit was sponsored by andrea rota.
This commit is contained in:
Joey Hess 2018-05-05 08:55:50 -04:00
parent d1961e4498
commit 71f450f677
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 35 additions and 6 deletions

View file

@ -4,7 +4,7 @@ Linux software in a terminal.
git-annex is not currently part of the Termux distribution, but it's easy
to install it. Paste these commands into Termux:
pkg install git wget tar coreutils
pkg install git wget tar coreutils proot
termux-setup-storage
cd
wget https://downloads.kitenet.net/git-annex/autobuild/armel/git-annex-standalone-armel.tar.gz

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="joey"
subject="""comment 5"""
date="2018-05-05T12:57:00Z"
content="""
We now have a workaround that seems to work, `pkg install proot` and use
proot to run git-annex. Tomorrrow's daily build of the git-annex standalone
bundle will do that automatically.
"""]]