git-annex/standalone/linux/skel
Joey Hess 71f450f677
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.
2018-05-08 13:55:10 -04:00
..
git Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
git-annex Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
git-annex-shell Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
git-annex-webapp Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
git-receive-pack Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
git-shell Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
git-upload-pack Assistant: Fix installation of menus, icons, etc when run from within runshell. 2018-04-25 17:58:00 -04:00
README
runshell use proot to support Android 8 2018-05-08 13:55:10 -04:00

You can put this directory into your PATH, or symlink the programs in this
directory to anyplace already in your PATH, and use git-annex the same
as if you'd installed it using a package manager.

Or, you can use the runshell script in this directory to start a shell
that is configured to use git-annex and the other utilities included in
this bundle, including git, gpg, rsync, ssh, etc.

This should work on any Linux system of the appropriate architecture.
More or less.


How it works: This directory tree contains a lot of libraries and programs
that git-annex needs. But it's not a chroot. Instead, runshell sets a lot
of environment variables to cause files from here to be used, and a shim
around the binaries arranges for them to be run with the libraries in here.

It shouldn't even be dependent on the host system's glibc libraries.
All that's needed is a kernel that supports the glibc included in this
bundle.