You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DOWNLOADER.md 996B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
1234567891011121314151617181920212223242526272829303132333435363738
  1. # Gitian Downloader
  2. ## Download config
  3. Construct a download config:
  4. ---
  5. signers:
  6. BF6273FAEF7CC0BA1F562E50989F6B3048A116B5:
  7. weight: 20
  8. name: Devrandom
  9. key: devrandom
  10. minimum_weight: 30
  11. The keys can be extracted with:
  12. gpg --export-options export-minimal --export KEYID
  13. and saved into devrandom-key.pgp (see "key" in signers).
  14. The long key id can be obtained with:
  15. gpg --status-fd 1 --dry-run --import KEYFILE
  16. ## ZIP file
  17. 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:
  18. devrandom-build.assert
  19. devrandom-build.assert.pgp
  20. where the FILE.assert file is the PACKAGE-res.yml build report and the .pgp file is signature.pgp generated by gsign.
  21. ## Running the downloader
  22. gitian-updater --url file:///tmp/PACKAGE.zip --config PACKAGE-download-config --dest DEST
  23. Of course, the URL can be external rather than on the file system.