gitian: add --rebuild option

Avoids delays when sourceforge is slow to respond; allows rebuilding
when disconnected from networks.
This commit is contained in:
Howard Chu 2019-11-03 13:48:55 +00:00
parent 643860776e
commit 240dbb1243
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
2 changed files with 48 additions and 12 deletions

View file

@ -226,3 +226,19 @@ To get all build options run:
./gitian-build.py --help
```
Doing Successive Builds
-----------------------
If you need to do multiple iterations (while developing/testing) you can use the
`--rebuild` option instead of `--build` on subsequent iterations. This skips the
initial check for the freshness of the depends tools. In particular, doing this
check all the time prevents rebuilding when you have no network access.
Local-Only Builds
-----------------
If you need to run builds while disconnected from the internet, make sure you have
local up-to-date repos in advance. Then specify your local repo using the `--url`
option when building. This will avoid attempts to git pull across a network.