Image definitions¶
TL;DR. headsets/<codename>/<flavour>/ defines what a headset's system image installs for one flavour: its
layers, its repositories, its packages and the pins of every upstream package. overpressure's userspace build
assembles the image from it.
Flavours¶
A flavour is the system the owner chooses at the install: steamos (Valve's SteamOS, as on the Steam Frame; every
headset's default), and later others such as overpressure OS, Linux with open-source VR in place of Steam
(overpressure/overpressure#40). overpressure's build takes
the flavour's part of the build from overpressure itself (overpressure/build/flavours/<flavour>.sh).
Files of a definition¶
layers: the layers it uses, the most general first. Each layer is a pacman repositoryoverpressure-<layer>.pacman.conf: the repositories: the headset's layers, its own first, then Valve's Holo Core aarch64 preview (core,extra) and the Frame's hotfix repository.packages.txt: the packages, one per line;repository/nametakes a package from that repository,!namecounts as installed without being installed.packages.lock: every upstream package of the image, by SHA-256.
How a build uses it¶
overpressure's userspace build (overpressure/build/build-userspace.sh in
overpressure/overpressure) assembles a headset's image from the
definition of the flavour chosen, and each headset's own repository pins the release of this repository it builds
from. build/packages.sh and build/plan.py name a definition by its path below headsets/
(phoenix/steamos); the layers its flavours share build alike.