You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitian-builder/doc/DOWNLOADER.md

39 lines
996 B
Markdown

# Gitian Downloader
## Download config
Construct a download config:
---
signers:
13 years ago
BF6273FAEF7CC0BA1F562E50989F6B3048A116B5:
weight: 20
name: Devrandom
13 years ago
key: devrandom
minimum_weight: 30
13 years ago
The keys can be extracted with:
gpg --export-options export-minimal --export KEYID
13 years ago
and saved into devrandom-key.pgp (see "key" in signers).
13 years ago
The long key id can be obtained with:
13 years ago
gpg --status-fd 1 --dry-run --import KEYFILE
## ZIP file
The zip file should have the payload produced in build/out by gbuild, plus a gitian directory. The gitian directory should contain files of the form:
devrandom-build.assert
devrandom-build.assert.pgp
where the FILE.assert file is the PACKAGE-res.yml build report and the .pgp file is signature.pgp generated by gsign.
## Running the downloader
gitian-updater --url file:///tmp/PACKAGE.zip --config PACKAGE-download-config --dest DEST
Of course, the URL can be external rather than on the file system.