Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building/gitian-building-setup-gitian-debian.md
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
git clone https://github.com/devrandom/gitian-builder.git | 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-ABC/bitcoin-abc.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 --lxc --arch amd64 --distro debian --suite stretch | bin/make-base-vm --lxc --arch amd64 --distro debian --suite buster | ||||
``` | ``` | ||||
There will be a lot of warnings printed during the build of the image. These can be ignored. | There will be a lot of warnings printed during the build of the image. These can be ignored. | ||||
**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`. | ||||
Downloading dependencies | Downloading dependencies | ||||
------------------------ | ------------------------ | ||||
Show All 11 Lines |