Update README.md

G. D. M. 10 years ago
parent 82125a11e7
commit 6599503026

@ -1,13 +1,12 @@
Building bitcoin with a gitian-builder Docker container
=======================================================
This image allows automated gitian builds of bitcoin using a docker container.
This image allows automated Gitian builds of bitcoin core using a Docker container.
Before proceeding make sure you have created the necessary *gdm85/wheezy*, *gdm85/gitian-host* and *gdm85/gitian-host-vms* images, see [these instructions](../gitian-host/README.md).
Afterwards you can create the *gdm85/gitian-bitcoin-host* image by running [scripts/create-gitian-bitcoin-host.sh](../scripts/create-gitian-bitcoin-host.sh).
**NOTE:** this image currently supports only building of bitcoin 0.9.1, but it can be easily adapted to build other versions.
You can submit the source lists for other versions as a patch or pull request, see directory [input-sources/](input-sources/) for currently available versions.
You can submit the source lists for other bitcoin versions as a patch or pull request, see directory [input-sources/](input-sources/) for currently available versions.
Do not forget to read also the [Preamble here](../gitian-host/README.md#preamble) to correctly use Gitian builder and these provided scripts.
@ -33,21 +32,21 @@ Preparing the gitian environment
To initiate a gitian build of bitcoin you will run:
- [./build-bitcoin.sh](build-bitcoin.sh) 0.9.1
- [./build-bitcoin.sh](build-bitcoin.sh) 0.9.3
Notice the parameter 0.9.1, that is the version we are going to build and must be available in [input-sources](input-sources/).
Notice the parameter 0.9.3, that is the version we are going to build and must be available in [input-sources](input-sources/).
[build-bitcoin.sh](build-bitcoin.sh) is a script that will download & build all the dependencies and then bitcoin itself, for both i386 and amd64 Linux architectures.
Signing
-------
Once you have completed the build of bitcoin, you will be ready to perform the signing; before doing that you should verify that signatures are matching with those of [other developers](https://github.com/bitcoin/gitian.sigs) by peeking inside *~/gitian.sigs* of the running container.
Once you have completed the build of bitcoin, you will be ready to perform the signing operation; before doing that you should verify that signatures are matching with those of [other developers](https://github.com/bitcoin/gitian.sigs) by peeking inside *~/gitian.sigs* of the running container.
Only the out_manifest signatures do matter for this purpose.
In order to sign you have to either put your private key in the container's *~/.gnupg* or perform the signing externally, at your option.
If you have the private key in the container (also displayed by `gpg -K`), then you can use the [sign.sh](sign.sh) script that is already provided, otherwise
If you have the private key in the container (also displayed by `gpg -K`), then you can use the [sign.sh](bin/sign.sh) script that is already provided, otherwise
run it (with failure) and then copy the *~/gitian.sigs* directory to another machine to apply the GPG signature.
Submitting your signature

Loading…
Cancel
Save