This repository contains the Debian package to build Liquorix for both Debian and Ubuntu, and scripts for Debian, Ubuntu, and Arch Linux.
The following software must be installed.
- Docker
- GnuPG (optional — required only for package signing)
Run make or make help to see all available targets and their current variable defaults:
makeVariables can be overridden on the command line:
PROCS— number of parallel jobs (default:nproc/2, minimum 2)BUILD— build number (default:1)DISTRO— distribution name (e.g.ubuntu,debian) — required for per-release targetsRELEASE— release codename (e.g.resolute,trixie) — required for per-release targets
Before any builds can be executed, the prepared Docker images must be bootstrapped. To bootstrap Debian images:
make bootstrap-debianFor Arch Linux:
make bootstrap-archSubsequent runs will update the existing images rather than performing a full build.
Build all Debian source packages:
make build-source-allBuild all Debian binary packages:
make build-binary-debianBuild the Arch Linux binary package:
make build-binary-archTo build for a single release, use the per-release targets with DISTRO and RELEASE:
make build-source DISTRO=ubuntu RELEASE=resolute
make build-binary DISTRO=ubuntu RELEASE=resoluteIf the build completes successfully, Debian packages will be found under artifacts/debian/<release>.
At this time, only AMD64 is supported and is the only architecture that will build successfully.
Package signing is optional. If GnuPG is not installed or no signing key is configured, builds will complete successfully and skip signing with a warning.
To enable signing, configure GnuPG with a default key:
- Execute
gpg --full-gen-keyand follow prompts - Run
gpg --list-secret-keysto find your key ID - Create
~/.gnupg/gpg.confand adddefault-key EXAMPLE1234..., where the example is your key from the previous output
When a valid key is configured, packages are signed automatically during the build. If signing is desired for Debian, make sure to update the changelog with dch -i --auto-nmu and set the author to match your signing key.
Remove all Liquorix Docker build images:
make cleanPRs accepted.