Fix release builds and drop Debian 11 targets

Enable parallel Debian package builds through debhelper, remove Debian 11 release targets, and select the installed GCC Toolset activation script on Rocky Linux 10 while preserving older layouts. Update the build documentation.
This commit is contained in:
Antonio SJ Musumeci 2026-11-05 14:14:03 -06:00 • committed by trapexit
parent 74eade91f5
commit bdfbedad8b
8 changed files with 22 additions and 49 deletions

View file

@ -23,6 +23,13 @@ $ make deb
$ sudo dpkg -i ../mergerfs_<version>_<arch>.deb
```
Debian package compilation uses the available CPUs by default. To limit
parallelism, set `DEB_BUILD_OPTIONS`:
```
$ DEB_BUILD_OPTIONS=parallel=4 make deb
```
## RHEL / CentOS / Rocky / Fedora
```
@ -37,13 +44,19 @@ Fedora 45 rejects unsigned RPMs by default. When installing a locally
built RPM that you trust, pass `--nosignature` to `rpm` to allow that
unsigned package.
Rocky Linux container builds activate newer GCC Toolsets when available.
Both the Rocky 10 `/usr/lib/gcc-toolset/<version>-env.source` activation
script and the older `/opt/rh/gcc-toolset-<version>/enable` layout are
supported.
## Container packages
Package build targets are defined in `buildtools/containerfiles/`, with
the standard distro targets listed in `buildtools/target-containers.txt`.
These include Fedora 45 on `amd64` and `arm64`, and Ubuntu 26.10 on
`amd64`, `arm64`, `armhf`, and `riscv64`. Foreign-architecture builds
require QEMU/binfmt support.
Debian release builds target Debian 12 and 13. Other targets include
Fedora 45 on `amd64` and `arm64`, and Ubuntu 26.10 on `amd64`, `arm64`,
`armhf`, and `riscv64`. Foreign-architecture builds require QEMU/binfmt
support.
## Generic Linux