git-annex/standalone/linux/skel
Joey Hess a97ef366fa
Linux standalone: Avoid using bundled cp before envionment is fully set up.
On android arm64, I saw the cp fail with "Bad system call", because proot
has not run yet. runshell only recently started using cp, and it's bundled
with git-annex, so this fixes a reversion.

This commit was sponsored by Nick Piper on Patreon.
2018-10-10 16:02:25 -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 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 Linux standalone: Avoid using bundled cp before envionment is fully set up. 2018-10-10 16:02:25 -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.