Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building/gitian-building-setup-gitian-fedora.md
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
git clone https://github.com/bitcoin-core/gitian.sigs.git | git clone https://github.com/bitcoin-core/gitian.sigs.git | ||||
git clone https://github.com/bitcoin-core/bitcoin-detached-sigs.git | git clone https://github.com/bitcoin-core/bitcoin-detached-sigs.git | ||||
``` | ``` | ||||
Setting up the Gitian image | Setting up the Gitian image | ||||
------------------------- | ------------------------- | ||||
Gitian needs a virtual image of the operating system to build in. | Gitian needs a virtual image of the operating system to build in. | ||||
Currently this is Ubuntu Bionic x86_64, however previous releases were built | Currently this is Debian 10 Buster x86_64. | ||||
with Ubuntu Trusty x86_64. | |||||
This image will be copied and used every time that a build is started to | This image will be copied and used every time that a build is started to | ||||
make sure that the build is deterministic. | make sure that the build is deterministic. | ||||
Creating the image will take a while, but only has to be done once. | Creating the image will take a while, but only has to be done once. | ||||
Execute the following as user `gitianuser`: | Execute the following as user `gitianuser`: | ||||
```bash | ```bash | ||||
cd gitian-builder | cd gitian-builder | ||||
bin/make-base-vm --docker --arch amd64 --suite bionic # For releases after and including 0.17.0 | bin/make-base-vm --docker --arch amd64 --suite buster | ||||
bin/make-base-vm --docker --arch amd64 --suite trusty # For releases before 0.17.0 | |||||
``` | ``` | ||||
**Note**: When sudo asks for a password, enter the password for the user `gitianuser` not for `root`. | **Note**: When sudo asks for a password, enter the password for the user `gitianuser` not for `root`. |