mach
make a chroot of a rpm-based distribution
Install
- All systems
-
curl cmd.cat/mach.sh
- Debian
-
apt-get install mach
- Ubuntu
-
apt-get install mach
- Fedora
-
dnf install mach
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install mach
- Raspbian
-
apt-get install mach
- Dockerfile
- dockerfile.run/mach
mach
make a chroot of a rpm-based distribution
mach allows you to set up clean roots from scratch for any distribution or distribution variation supported. This clean build root can be used for several goals: - making clean packages - set up chroots for services to run it - make disk images of clean roots (for example for UML) Currently, mach works for rpm-based distributions that can work with apt for rpm. Included at this moment is the necessary information to set up: - Fedora 1, 2, 3, 4, 5, 6, and development - Red Hat 7.0, 7.1, 7.2, 7.3, 8, and 9 - CentOS 4 - Dave/Dina - Conectiva 9 - SuSE 8.1, 8.2, and 9.0 - Yellowdog 2.3, and 3.0 Some handy features of mach include: - "caching" of downloaded packages using the build hosts's apt the build root - ensures clean packages by reverting to the base set of build packages - uses apt to resolve dependencies - parsing of BuildRequires to install necessary packages for building - build ordering when doing multiple builds - support for flavours of distribution - multiple build roots - locking of buildroot to avoid concurrent builds - optional signing of built packages