gitian: minor fixups

- explain apt-cacher post-installation tasks
- change doc example to 1.14.5 because 1.14.4 expects trusty
- remove pressure on bitcoincore.org by downloading files from
  dogecoincore.org
This commit is contained in:
Patrick Lodder 2022-06-11 19:43:11 +02:00
parent bc6d4f64ee
commit 3845240ff7
No known key found for this signature in database
GPG Key ID: 2D3A345B98D0DC1F
2 changed files with 17 additions and 7 deletions

View File

@ -14,13 +14,13 @@ export USE_DOCKER=0
export USE_LXC=0
# Dependencies
ossPatchUrl="https://bitcoincore.org/cfields/osslsigncode-Backports-to-1.7.1.patch"
ossPatchUrl="https://depends.dogecoincore.org/osslsigncode-Backports-to-1.7.1.patch"
ossPatchHash="a8c4e9cafba922f89de0df1f2152e7be286aba73f78505169bc351a7938dd911"
ossTarUrl="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/osslsigncode/1.7.1-1/osslsigncode_1.7.1.orig.tar.gz"
ossTarUrl="https://depends.dogecoincore.org/osslsigncode_1.7.1.orig.tar.gz"
ossTarHash="f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9"
macosSdkUrl="https://bitcoincore.org/depends-sources/sdks/MacOSX10.11.sdk.tar.gz"
macosSdkUrl="https://depends.dogecoincore.org/MacOSX10.11.sdk.tar.gz"
macosSdkHash="bec9d089ebf2e2dd59b1a811a38ec78ebd5da18cbbcd6ab39d1e59f64ac5033f"
# What to do

View File

@ -37,6 +37,16 @@ The following common dependencies are required regardless of virtualization:
```
git ruby wget apt-cacher-ng gpg
```
_Note: When asked to allow secure tunnels through apt-cacher, answer "no"_
After installation, you will need to enable `apt-cacher`, eg:
```bash
sudo systemctl enable apt-cacher-ng.service
sudo systemctl start apt-cacher-ng.service
```
You can define your `apt-cacher` host by specifying `MIRROR_HOST` environment variable.
*To create a PGP key to sign files, see : https://gnupg.org/gph/en/manual.html#INTRO.
@ -91,18 +101,18 @@ Binaries and signatures will be created in a `gitian-output` folder, relative to
The entire gitian flow can be performed step by step, example using docker :
```bash
#Download Gitian dependencies
./gitian-build.sh --docker --setup 1.14.4
./gitian-build.sh --docker --setup 1.14.5
#Build & sign executables
./gitian-build.sh --docker --build --sign SIGNER 1.14.4
./gitian-build.sh --docker --build --sign SIGNER 1.14.5
#Verify signatures
./gitian-build.sh --verify 1.14.4
./gitian-build.sh --verify 1.14.5
```
Or to do everything at once :
```bash
./gitian-build.sh --docker --setup --build --sign SIGNER --verify 1.14.4
./gitian-build.sh --docker --setup --build --sign SIGNER --verify 1.14.5
```
### Signing externally