Skip to the content.

Quickstart guide

A more detailed documentation follows, starting from Contents section.

To get things moving follow these steps:

Contents

Terminology

Host is a system, that hosts all chroots. It could be a bare system, a KVM-guest.

Target is a system, which benefits from building binpkgs elsewhere. Could be a number of similar systems, sharing portage configuration.

Chroot is a chroot environment, created within host system. It is a replica of target system in a way that it has identical configuration and all the packages, that are present on a target.

Prerequisites

If you’re planning to compile binpkgs for a different architecture, you might require qemu, supporting user-mode.

If your host is a kvm-guest, you might need to enable nested virtualization.

Installation

gb-chroot could be found in ::pf4public Gentoo overlay.

gb-chroot should be installed with USE flag host into host system and without it (default option) into target and consequently chroot systems.

Available scripts

Creating chroot

USE=-pgo gb-emerge haswell ungoogled-chromium

USE=-pgo gb-emerge-all ungoogled-chromium

Using ccache

Building Linux kernel

UNINSTALL_IGNORE=”/var/run /var/lock”