Build a distro package from sourceΒΆ

Testing a pre-built package is the easiest way to test the latest code. If you need to build a package with custom changes to the code, some tools might help with building the package.

Development-quality DEB or RPM packages can be built from source with one of the following scripts on a build host. Make sure that all dependencies are installed:

./packages/brpm --distro=redhat  # or --distro=suse to build an RPM
./packages/bddeb -d  # to build a DEB

Alternatively the package can be built in an LXD container:

./tools/run-container ubuntu-daily:plucky --package --keep
./tools/run-container rockylinux/9 --package --keep

FreeBSD users might want to use tools/build-on-freebsd.

See the README for more details.