Automating Qubes OS: qubes-builderv2 internals and the qubesos Ansible collection

Frédéric Pierret

Playlists: 'qubesos26' videos starting here

Every Qubes OS package, template and ISO comes out of qubes-builderv2. Each stage (fetching and verifying sources, rendering SPEC files, generating SRPMs and Debian source packages, building, signing, publishing) runs in its own cage, a disposable qube or a container, driven by an executor abstraction. Recent work added a real dependency graph between build jobs, caching of sources and build artifacts so unchanged components are never rebuilt, and scheduling that lets a full distribution build, ISO included, run unattended in CI. This talk goes through the architecture, how job dependencies are modeled and resolved, and where the complexity actually is.

The second part presents the new qubesos Ansible collection, a set of roles and playbooks for configuring qubes: bind-dirs persistence, qubes-services, split-SSH and split-GPG. The playbooks detect templates automatically, install packages where they belong, start agents and forwarders in the vaults, and write qrexec policies for exactly the client/vault pairs you asked for. All of it, shipped as a regular collection you install from Qubes OS repositories.

Download

Embed

Share:

Tags