parent
c8ba8a1be5
commit
97bcec4853
@ -339,7 +339,7 @@ Getting and building the inputs
|
|||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
Follow the instructions in [doc/release-process.md](release-process.md#fetch-and-build-inputs-first-time-or-when-dependency-versions-change)
|
Follow the instructions in [doc/release-process.md](release-process.md#fetch-and-build-inputs-first-time-or-when-dependency-versions-change)
|
||||||
in the bitcoin repository under 'Fetch and build inputs' to install sources which require
|
in the dash repository under 'Fetch and build inputs' to install sources which require
|
||||||
manual intervention. Also optionally follow the next step: 'Seed the Gitian sources cache
|
manual intervention. Also optionally follow the next step: 'Seed the Gitian sources cache
|
||||||
and offline git repositories' which will fetch the remaining files required for building
|
and offline git repositories' which will fetch the remaining files required for building
|
||||||
offline.
|
offline.
|
||||||
@ -348,7 +348,7 @@ Building Dash
|
|||||||
----------------
|
----------------
|
||||||
|
|
||||||
To build Dash (for Linux, OS X and Windows) just follow the steps under 'perform
|
To build Dash (for Linux, OS X and Windows) just follow the steps under 'perform
|
||||||
Gitian builds' in [doc/release-process.md](release-process.md#perform-gitian-builds) in the bitcoin repository.
|
Gitian builds' in [doc/release-process.md](release-process.md#perform-gitian-builds) in the dash repository.
|
||||||
|
|
||||||
This may take some time as it will build all the dependencies needed for each descriptor.
|
This may take some time as it will build all the dependencies needed for each descriptor.
|
||||||
These dependencies will be cached after a successful build to avoid rebuilding them when possible.
|
These dependencies will be cached after a successful build to avoid rebuilding them when possible.
|
||||||
@ -405,7 +405,7 @@ Building fully offline
|
|||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
For building fully offline including attaching signatures to unsigned builds, the detached-sigs repository
|
For building fully offline including attaching signatures to unsigned builds, the detached-sigs repository
|
||||||
and the bitcoin git repository with the desired tag must both be available locally, and then gbuild must be
|
and the dash git repository with the desired tag must both be available locally, and then gbuild must be
|
||||||
told where to find them. It also requires an apt-cacher-ng which is fully-populated but set to offline mode, or
|
told where to find them. It also requires an apt-cacher-ng which is fully-populated but set to offline mode, or
|
||||||
manually disabling gitian-builder's use of apt-get to update the VM build environment.
|
manually disabling gitian-builder's use of apt-get to update the VM build environment.
|
||||||
|
|
||||||
@ -424,7 +424,7 @@ cd /path/to/gitian-builder
|
|||||||
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root apt-get update
|
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root apt-get update
|
||||||
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root \
|
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root \
|
||||||
-e DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install \
|
-e DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install \
|
||||||
$( sed -ne '/^packages:/,/[^-] .*/ {/^- .*/{s/"//g;s/- //;p}}' ../bitcoin/contrib/gitian-descriptors/*|sort|uniq )
|
$( sed -ne '/^packages:/,/[^-] .*/ {/^- .*/{s/"//g;s/- //;p}}' ../dash/contrib/gitian-descriptors/*|sort|uniq )
|
||||||
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root apt-get -q -y purge grub
|
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root apt-get -q -y purge grub
|
||||||
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root -e DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
|
LXC_ARCH=amd64 LXC_SUITE=precise on-target -u root -e DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
|
||||||
```
|
```
|
||||||
|
@ -15,7 +15,7 @@ Check out the source code in the following directory hierarchy.
|
|||||||
git clone https://github.com/devrandom/gitian-builder.git
|
git clone https://github.com/devrandom/gitian-builder.git
|
||||||
git clone https://github.com/dashpay/dash.git
|
git clone https://github.com/dashpay/dash.git
|
||||||
|
|
||||||
###Bitcoin maintainers/release engineers, update (commit) version in sources
|
###Dash maintainers/release engineers, update (commit) version in sources
|
||||||
|
|
||||||
pushd ./dash
|
pushd ./dash
|
||||||
contrib/verifysfbinaries/verify.sh
|
contrib/verifysfbinaries/verify.sh
|
||||||
@ -82,7 +82,7 @@ Only missing files will be fetched, so this is safe to re-run for each build.
|
|||||||
|
|
||||||
NOTE: Offline builds must use the --url flag to ensure Gitian fetches only from local URLs. For example:
|
NOTE: Offline builds must use the --url flag to ensure Gitian fetches only from local URLs. For example:
|
||||||
```
|
```
|
||||||
./bin/gbuild --url dash=/path/to/bitcoin,signature=/path/to/sigs {rest of arguments}
|
./bin/gbuild --url dash=/path/to/dash,signature=/path/to/sigs {rest of arguments}
|
||||||
```
|
```
|
||||||
The gbuild invocations below <b>DO NOT DO THIS</b> by default.
|
The gbuild invocations below <b>DO NOT DO THIS</b> by default.
|
||||||
|
|
||||||
@ -92,12 +92,12 @@ The gbuild invocations below <b>DO NOT DO THIS</b> by default.
|
|||||||
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-linux.yml
|
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-linux.yml
|
||||||
mv build/out/dash-*.tar.gz build/out/src/dash-*.tar.gz ../
|
mv build/out/dash-*.tar.gz build/out/src/dash-*.tar.gz ../
|
||||||
|
|
||||||
./bin/gbuild --commit bitcoin=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-win.yml
|
./bin/gbuild --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-win.yml
|
||||||
./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win.yml
|
./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win.yml
|
||||||
mv build/out/dash-*-win-unsigned.tar.gz inputs/dash-win-unsigned.tar.gz
|
mv build/out/dash-*-win-unsigned.tar.gz inputs/dash-win-unsigned.tar.gz
|
||||||
mv build/out/dash-*.zip build/out/dash-*.exe ../
|
mv build/out/dash-*.zip build/out/dash-*.exe ../
|
||||||
|
|
||||||
./bin/gbuild --commit bitcoin=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
./bin/gbuild --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
||||||
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
||||||
mv build/out/dash-*-osx-unsigned.tar.gz inputs/dash-osx-unsigned.tar.gz
|
mv build/out/dash-*-osx-unsigned.tar.gz inputs/dash-osx-unsigned.tar.gz
|
||||||
mv build/out/dash-*.tar.gz build/out/dash-*.dmg ../
|
mv build/out/dash-*.tar.gz build/out/dash-*.dmg ../
|
||||||
|
Loading…
Reference in New Issue
Block a user