Building¶
TL;DR. The packages build as root in overpressure's build image, pinned by digest, against a pinned Holo Core
aarch64 preview: natively on arm64 for the releases, through QEMU on an x86-64 computer for trying a change.
bash build/packages.sh <codename>/<flavour> WORKDIR OUTDIR builds the layers of a headset's image definition;
the layout checks and linters run in seconds without a build.
The build environment¶
The build runs as root in overpressure's build image (overpressure/builder),
pinned by digest. Its environment is the Holo Core aarch64 preview, pinned by hash, with the packages the
recipes build against from the headset's repositories. Every one of them is pinned: by the headset's
packages.lock (version and SHA-256), or by the Holo snapshot when the image does not install it. The
Frame's repository is not a snapshot; when it moves, the build stops until the lock follows. The releases are built
on arm64, where everything runs natively with the environment's GCC. On an x86-64 computer the image's clang and
lld compile inside it and its other programs run under QEMU (OVERPRESSURE_BINFMT=1 registers QEMU): packages for
trying a change, not the releases' bytes.
A build¶
docker run --rm --privileged -e OVERPRESSURE_BINFMT=1 -v "$PWD:/work" -w /work \
ghcr.io/overpressure/builder:2026.11.12@sha256:ba4a5ec8adb886b60b873b28d7d6454abd40c1a58d08a6f6fd7d5efc65d8e4b2 \
bash build/packages.sh phoenix/steamos /var/tmp/packages /work/out
out/<layer>/ then holds the layer's packages and its database overpressure-<layer>.db, and
out/sources/ the complete sources of the GPL and LGPL packages; a failed build leaves its logs in
out/logs/. The build folder is kept: a second run rebuilds only the recipes whose folder changed.
Named packages after the folders build only those, without the databases; --databases writes the
databases from the packages in out/.
From a checkout of overpressure, python -m overpressure container run -- bash ... runs the same image.
Checks¶
python3 -m unittest -v # the layout: layers, names, recipes' local sources, image definitions
python3 build/shellcheck.py # every tracked shell script, the recipes' too, down to its warnings
uvx ruff@0.17.4 format --check . && uvx ruff@0.17.4 check . && uvx ty@0.0.98 check # the Python code (pyproject.toml)
After a change to a recipe's local files, python3 build/sums.py LAYER/RECIPE writes its checksums
(recipes).