Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building/gitian-building-setup-gitian-fedora.md
Show All 37 Lines | |||||
**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`. | ||||
Installing Gitian | Installing Gitian | ||||
------------------ | ------------------ | ||||
Login as the user `gitianuser` that was created during installation. | Login as the user `gitianuser` that was created during installation. | ||||
The rest of the steps in this guide will be performed as that user. | The rest of the steps in this guide will be performed as that user. | ||||
Clone the git repositories for bitcoin and Gitian. | Clone the git repository for Bitcoin ABC which contains the Gitian sources. | ||||
```bash | ```bash | ||||
git clone https://github.com/devrandom/gitian-builder.git | git clone https://github.com/Bitcoin-ABC/bitcoin-abc.git | ||||
git clone https://github.com/bitcoin/bitcoin | |||||
git clone https://github.com/bitcoin-core/gitian.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 Debian 10 Buster x86_64. | Currently this is Debian 10 Buster 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 bitcoin-abc/contrib/gitian-builder | ||||
bin/make-base-vm --docker --arch amd64 --suite buster | bin/make-base-vm --docker --arch amd64 --suite buster | ||||
``` | ``` | ||||
**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`. |