mockchain

Build rpm packages inside a chroot

Install

All systems
curl cmd.cat/mockchain.sh
Debian Debian
apt-get install mock
Ubuntu
apt-get install mock
image/svg+xml Kali Linux
apt-get install mock
CentOS
yum install mock
Fedora
dnf install mock
Windows (WSL2)
sudo apt-get update sudo apt-get install mock
Raspbian
apt-get install mock

mock

Build rpm packages inside a chroot

Mock creates chroots and builds rpms in them. Its only task is to reliably populate a chroot and attempt to build a package in that chroot. It is used be the Fedora Extras project to build their packages cleanly.