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

@ -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.
"""]]