document how to build standalone tarball

This commit is contained in:
Joey Hess 2020-08-10 15:17:04 -04:00
parent 120f4f33c0
commit 9358ff8bc1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2020-08-10T19:08:20Z"
content="""
I've added some docs to the page about how to build it.
BUILDER=stack will build it with stack.
"""]]

View file

@ -46,6 +46,18 @@ The arm64 autobuilder runs only intermittently. [[Better hosting needed.|todo/ar
* arm64: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/armel/git-annex-standalone-arm64.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/arm64/))
## building it yourself
This entails building git-annex from source, so you will first
need to get that working, see [[fromsource]] for some of the details.
In git-annex's source tree, run `make linuxstandalone`. This will build
git-annex from source, and then build the tarball bundle, into eg
`tmp/git-annex-standalone-amd64.tar.gz`
This build process is done on a Debian system, and it needs to use
`dpkg` to examine the host system.
## technical details
The way those tarballs are built is described in [joeyh's blog](http://joeyh.name/blog/entry/completely_linux_distribution-independent_packaging/).
The way those tarballs work is described in [joeyh's blog](http://joeyh.name/blog/entry/completely_linux_distribution-independent_packaging/).