git-annex/standalone/linux/skel
Joey Hess 118ed8f92b
runshell: hacks for termux; add tip
Added some tweaks to make git-annex work in termux on Android. The regular
arm standalone tarball now works in termux.

I guess the test for "$base/bin/git" is not really necessary, since it
tests for git-annex. Since that gets deleted on android, removed that test.

These are pretty hackish hacks, especially adding it to PATH. The goal is
to make it work well enough out of the box on Android.

This commit was sponsored by Eric Drechsel on Patreon.
2018-04-25 13:48:37 -04:00
..
git Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. 2014-05-16 16:22:56 -04:00
git-annex Better fix for standalone tarball git-annex sync linker shim bug, that works for "git annex sync" as well as "git-annex sync". 2015-03-27 16:06:50 -04:00
git-annex-shell Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. 2014-05-16 16:22:56 -04:00
git-annex-webapp Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. 2014-05-16 16:22:56 -04:00
git-receive-pack Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. 2014-05-16 16:22:56 -04:00
git-shell Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. 2014-05-16 16:22:56 -04:00
git-upload-pack Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. 2014-05-16 16:22:56 -04:00
README Include git-receive-pack, git-upload-pack, and git wrappers in the Linux standalone build, and OSX app, so they will be available when it's added to PATH. 2013-12-24 16:28:10 -04:00
runshell runshell: hacks for termux; add tip 2018-04-25 13:48:37 -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.