Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building.md
Show All 11 Lines | |||||
("recipe"), cryptographically sign the result, and upload the resulting signature. | ("recipe"), cryptographically sign the result, and upload the resulting signature. | ||||
These results are compared and only if they match, the build is accepted and | These results are compared and only if they match, the build is accepted and | ||||
uploaded to bitcoinabc.org. | uploaded to bitcoinabc.org. | ||||
More independent Gitian builders are needed, which is why this guide exists. | More independent Gitian builders are needed, which is why this guide exists. | ||||
It is preferred you follow these steps yourself instead of using someone else's | It is preferred you follow these steps yourself instead of using someone else's | ||||
VM image to avoid 'contaminating' the build. | VM image to avoid 'contaminating' the build. | ||||
Table of Contents | |||||
----------------- | |||||
- [Preparing the Gitian builder host](#preparing-the-gitian-builder-host) | |||||
- [Getting and building the inputs](#getting-and-building-the-inputs) | |||||
- [Building Bitcoin Core](#building-bitcoin-core) | |||||
- [Building an alternative repository](#building-an-alternative-repository) | |||||
- [Signing externally](#signing-externally) | |||||
- [Uploading signatures](#uploading-signatures) | |||||
Preparing the Gitian builder host | Preparing the Gitian builder host | ||||
--------------------------------- | --------------------------------- | ||||
The first step is to prepare the host environment that will be used to perform the Gitian builds. | The first step is to prepare the host environment that will be used to perform the Gitian builds. | ||||
This guide explains how to set up the environment, and how to start the builds. | This guide explains how to set up the environment, and how to start the builds. | ||||
Gitian builds are known to be working on recent versions of Debian, Ubuntu and Fedora. | Gitian builds are known to be working on recent versions of Debian, Ubuntu and Fedora. | ||||
If your machine is already running one of those operating systems, you can perform Gitian builds on the actual hardware. | If your machine is already running one of those operating systems, you can perform Gitian builds on the actual hardware. | ||||
Alternatively, you can install one of the supported operating systems in a virtual machine. | Alternatively, you can install one of the supported operating systems in a virtual machine. | ||||
You can create the virtual machine using [vagrant](./gitian-building/gitian-building-vagrant.md) or chose to setup the VM manually. | |||||
Any kind of virtualization can be used, for example: | Any kind of virtualization can be used, for example: | ||||
- [VirtualBox](https://www.virtualbox.org/) (covered by this guide) | - [VirtualBox](https://www.virtualbox.org/) (covered by this guide) | ||||
- [KVM](http://www.linux-kvm.org/page/Main_Page) | - [KVM](http://www.linux-kvm.org/page/Main_Page) | ||||
- [LXC](https://linuxcontainers.org/) | - [LXC](https://linuxcontainers.org/) | ||||
Please refer to the following documents to set up the operating systems and Gitian. | Please refer to the following documents to set up the operating systems and Gitian. | ||||
| | Debian | Fedora | | | | Debian | Fedora | | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |