User:Maffblaster/Vitality

Helpful commands
Overlay wide simple find and replace:

For example, to replace a URL, be sure to escape all the forward slashes:

systemd boot time chart:

Chroot-prep
Use or follow the instructions below to manually prepare the chroot environment.

Create a symlink from to the extracted stage3 or stage4 location:

Make sure the network available in the chroot:

Standard chroot mounts:

Separate tree
Make sure is created and  is copied:

Copy the local Portage tree into the chroot:

Mounted tree and overlay
Instead of maintaining a separate Portage tree in the chroot(s), it is most reasonable to simply mount the main Gentoo repository in the chroot using the mount command:

If the overlay is local copy file to the  directory in the chroot. If it is remote, the file can be downloaded with a tool such as.

This same approach can be performed with the overlay (be sure to replace  in the command below with the actual overlay name):

Keep Portage, but not distfiles, packages, or virtual filesystems
The following commands are designed to be ran from the base of the rootfs.

Long options
.gz long:



.bz2 long:



.xz long:



Short options
.gz short:



.bz2 short:



.xz short:



Do not keep Portage, or virtual filesystems
The following commands are designed to be ran from the base of the rootfs.

Long options
.gz long:



.bz2 long:



.xz long:



Tarball decompressor
The following commands are designed to be ran from any location, provided the  section is modified to the location the tarball is to extract.

Short options
.gz short:



.bz2 short:



.xz short:



Long options
.gz long:



.bz2 long:



.xz long:



List installed package licenses
must be installed:

Chroot build failures
In order to correct the error above, disable  and   from the FEATURES variable: