git-annex/standalone/linux/skel
Joey Hess aacd9b190d
Linux standalone: Include locale files in the bundle, and generate locale definition files for the locales in use when starting runshell.
Currently only done for utf-8 locales because the charset can easily be
told for those. Other locales don't include the charset in their name.

The locale definition is generated under git-annex.linux/locales.
So, this only works if the user can write there.

If locale generation fails for any reason, it's silently skipped.

The git-annex-standalone.deb installs the bundle under /usr, so this locale
generation won't work for non-root users.
2016-10-04 16:37:43 -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 Linux standalone: Include locale files in the bundle, and generate locale definition files for the locales in use when starting runshell. 2016-10-04 16:37:43 -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.