The Ur Project
Further reading

The reading path

Why it exists, what you can do with it, then the architecture series in order, one part of Dispatcher at a time.

  1. Once more, with feeling why a build system, not a distro
  2. Zen and the art of motorcycle maintenance the tiers
  3. Architecture talk: Dispatcher
  4. Dispatcher part 2
  5. Content review part 3
  6. The recipe format part 4
  7. The registry part 5
  8. Intent, subpackages, and sets part 6
  9. Packages part 7
  10. Repositories part 8
  11. Compositions part 9
  12. Images part 10
  13. Search part 11
  14. dispatch-tui part 12
  15. Designer part 13
  16. TUF and signing part 14

Guides

The project

Dispatcher · for your engineers

Dispatcher builds your own Linux OS.

Write a handful of recipes, and create an operating system you can ship and stand behind. Start from the community's base OS, or from nothing at all.

Follow the path The business case

Add your own repo on top of the community base

01 · The factory

Every distro needs a factory.

Shipping your own Linux OS isn't about picking packages. It's about everything around them. Here's what you'd normally have to build, glue together and keep running yourself:

Dispatcher is all of that, in one tool.

Built on two decades of building distros, and the lessons that came with them. You don't have to learn them the hard way.

02 · Recipes

You write a recipe. That's how it starts.

One TOML file per package. Declarative, no scripting, no macro language. It says what the software is, where it comes from, and how it's licensed. Dispatcher does the rest.

The recipe format · why TOML

[recipe]
name = "systemd"
version = "262.1"
release = 10
description = "systemd -- system and service manager for Linux (init, systemctl, journald, udevd)"
homepage = "https://systemd.io/"
license_hint = "LGPL-2.1-or-later"
summary = """
systemd is a system and service manager for Linux. It provides
aggressive parallelization capabilities, uses socket and D-Bus
activation for starting services, offers on-demand starting of daemons,
and keeps track of processes using control groups.
"""

[[source]]
name = "systemd"
url = "https://github.com/systemd/systemd/archive/v262.1/systemd-262.1.tar.gz"
sha256 = "100fc873b848b9b0297d8a705e8e2ed326256c8483d9960ee1ffe264c8a5c3e3"

# systemd-update-utmp writes the wtmp boot record and sends an audit
[recipe]
name = "fdk-aac"
version = "2.0.3"
release = 2
description = "Fraunhofer FDK AAC audio codec library"
homepage = "https://github.com/mstorsjo/fdk-aac"
license_hint = "FDK-AAC"
summary = """
An encoder and decoder for AAC audio, covering AAC-LC, HE-AAC and
HE-AACv2 along with the MPEG-D DRC metadata that goes with them. This is
the Fraunhofer implementation released for Android and maintained as a
standalone library since. Remote-desktop and conferencing software uses
it for the AAC audio channel; media frameworks reach for it when an AAC
encoder of known quality is wanted.
"""

# Upstream's own tag, which is what Arch and Clear Linux build from.
# Fedora instead ships a stripped "fdk-aac-free" fork hosted on a
# contributor's fedorapeople.org home directory; that is worse provenance
# for the same code, so it is deliberately not used here.
[recipe]
name = "clamav"
version = "1.5.4"
release = 2
description = "Open-source antivirus engine for detecting trojans, viruses, malware and other malicious threats"
homepage = "https://www.clamav.net/"
license_hint = "GPL-2.0-only"
summary = """
ClamAV is an antivirus toolkit built around libclamav, a scanning engine
that unpacks archives, documents, executables and mail and matches their
contents against a signature database. clamscan scans files from the
command line; clamd keeps the database loaded and serves scan requests
over a local socket, which clamdscan and clamdtop talk to; freshclam
downloads and verifies signature updates. sigtool, clambc, clamconf and
clamsubmit cover signature authoring, bytecode inspection, configuration
dumps and false-positive reports.

clamd and freshclam run with no file in /etc: working vendor
configurations ship in /usr/share/defaults/etc/clamav, and an
/etc/clamav/clamd.conf or freshclam.conf written by the administrator
[recipe]
name = "nmap"
version = "7.993"
release = 1
description = "Network scanner for host discovery, port scanning, and service detection; also provides ncat."
homepage = "https://nmap.org/"
license_hint = "LicenseRef-NPSL-0.95"
summary = """
Nmap discovers hosts and services on a computer network.

It sends crafted packets and interprets the responses to determine which
hosts are reachable, which ports are open, which services and versions are
listening, and often which operating system is running. A scripting engine
extends it to more detailed service interrogation. It is a standard tool
for network inventory and for auditing exposed surface.

The package also provides ncat, a general-purpose tool for reading and
writing data across network connections.
"""
[recipe]
name = "browser"
version = "159.0"
release = 1
description = "Web browser"
homepage = "https://www.mozilla.org/firefox/"
license_hint = "MPL-2.0 AND GPL-3.0-or-later AND LGPL-2.1-or-later"
summary = """
A web browser built from the Firefox sources, with Mozilla's branding
removed: it installs as `browser`, calls itself Browser, and ships the
trademark-free artwork the tree carries for unofficial builds. NSS,
NSPR and zlib come from the system rather than the vendored copies.
DuckDuckGo is the default search engine.
Default preferences turn off telemetry, studies, sponsored content and
Firefox Accounts sign-in and Sync, and a packaged chrome stylesheet is
applied to every profile without needing per-user setup. The bundled
add-ons open no welcome tabs on first launch.
"""

# GPG-verified, not TOFU: the detached .asc for this tarball is signed by
[recipe]
name = "qbittorrent"
version = "5.3.0"
release = 2
description = "BitTorrent client with a Qt interface and a web UI"
homepage = "https://www.qbittorrent.org/"
license_hint = "GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND BSL-1.0"
summary = """
qBittorrent downloads and shares files over BitTorrent. It supports
magnet links, BitTorrent v2 and hybrid torrents, the DHT, peer
exchange, encryption, sequential downloading, per-torrent and global
speed limits and schedules, IP filtering, RSS feeds with download
rules, categories and tags, and an integrated torrent search engine
extensible with Python search plugins. A built-in web UI lets you
control it remotely from a browser, and Lua plugins can automate it.
"""

[[source]]
name = "qbittorrent"
# The detached qbittorrent-5.3.0.tar.xz.asc verifies against
[recipe]
name = "yt-dlp"
version = "2026.10.26"
release = 1
description = "Command-line program to download videos and audio from many websites"
homepage = "https://github.com/yt-dlp/yt-dlp"
license_hint = "Unlicense"
summary = """
yt-dlp downloads video and audio from YouTube and thousands of other
sites. It selects formats by resolution, codec and size, downloads
playlists and channels, subtitles, thumbnails and chapters, embeds
metadata, and with ffmpeg merges separate video and audio streams,
extracts audio, remuxes and splits by chapter. It is usable from the
command line and as a Python module.
"""

# PyPI sdist; sha256 matches the digest PyPI publishes (TOFU 2026-10-26).
# Upstream signs SHA2-256SUMS for its binary release assets, not the
# sdist.
[[source]]
[recipe]
name = "ffmpeg"
version = "9.0.2"
release = 9
description = "Audio and video codec libraries and conversion tools"
homepage = "https://ffmpeg.org/"
license_hint = "LGPL-2.1-or-later"
summary = """
FFmpeg decodes, encodes, transcodes, filters and streams audio and
video. It ships the libavcodec, libavformat, libavutil, libavfilter,
libswscale and libswresample libraries plus the ffmpeg and ffprobe
tools; desktop screen recording and media playback build on them. This
build omits the decoders for the patent-encumbered formats -- H.264,
H.265, H.266 and DTS -- including their VA-API, Vulkan, NVIDIA and
V4L2 mem2mem paths, so those formats do not decode at all. The native
AAC decoder is built, covering AAC-LC, HE-AAC, HE-AACv2 and xHE-AAC.
AV1 is decoded in software through dav1d and encoded through SVT-AV1,
and VP8 and VP9 are encoded and decoded through libvpx as well as
FFmpeg's own decoders. Hardware encoding is available through VA-API,
Intel Quick Sync (oneVPL, with vpl-gpu-rt installed), and, with the
recipes/ffmpeg/recipe.toml in registry-common

03 · Gates

Every change runs the gauntlet.

Nothing gets stacked unless it's checked first. Every build goes through the same checks, and then you get to review it, and you get to see all the evidence.

Agents do the work, you decide.

Dispatcher has MCP endpoints built in, so coding agents can write recipes, scan licenses and iterate on builds in Designer. What they can never do is approve a change. And once content is promoted, agents can't touch it at all. Our AI policy

How content review works

  1. License scan
  2. Malware scan
  3. Compile
  4. Reproducible build
  5. Package tests
  6. Vulnerabilities
  7. Human review

04 · Updates

Ship secure updates, not builds.

An OS isn't installed once and done. Everything you approve goes into your own repository, signed with your keys, and your users' machines check every update with TUF before they install it.

Updating · rolling back · air-gapped upgrades

05 · Images

One set of packages. Every kind of image.

An image is one short file: which repos, which packages, what shape. The same packages become a live USB, an ISO, a cloud VM disk, a container or a WSL distro, each with its own SBOM and license report. Dispatcher rebuilds them whenever something in them changes. Or build one yourself with pkg compose, no build system and no root needed.

How images work · build your own image

[composition]
name        = "live-usb"
description = "GNOME desktop on a USB stick, booted on real Intel hardware"
type        = "disk"
arch        = "x86_64"
version     = "2026.10.2"

# Chain order is file order, lowest precedence first. Common shadows Base by
# name. Trust is per repo because it is per repo in reality: Base and Common
# are signed by different keys.
[[repos]]
name      = "Sandcastle-Base"
url       = "http://ur-build.lan/Sandcastle/Base"
tuf_root  = "/etc/pkg/sandcastle-base.root.json"
trust_key_file = "../Sandcastle-Base.keys"

[[repos]]
name      = "Sandcastle-Common"
url       = "http://ur-build.lan/Sandcastle/Common"
tuf_root  = "/etc/pkg/sandcastle-common.root.json"
trust_key_file = "../Sandcastle-Common.keys"
consumes  = ["Sandcastle-Base"]

[packages]
needed = [
[composition]
name        = "generic-iso"
description = "Hybrid live ISO for providers that take nothing but an uploaded ISO"
type        = "disk"
arch        = "x86_64"
version     = "2026.10.4"

# Chain order is file order, lowest precedence first, matching the `consumes`
# edges a guest bakes into /etc/pkg/repos.d. Common shadows Base by name.
#
# Trust is per repo because it is per repo in reality: Base and Common are
# signed by different keys, and naming only one composes 90 packages and then
# refuses the first manifest from the other.
[[repos]]
name      = "Sandcastle-Base"
url       = "http://ur-build.lan/Sandcastle/Base"
tuf_root  = "/etc/pkg/sandcastle-base.root.json"
trust_key_file = "../Sandcastle-Base.keys"

[[repos]]
name      = "Sandcastle-Common"
url       = "http://ur-build.lan/Sandcastle/Common"
tuf_root  = "/etc/pkg/sandcastle-common.root.json"
trust_key_file = "../Sandcastle-Common.keys"

[packages]
needed = [
[composition]
name        = "generic-cloud"
description = "Headless cloud disk image; the administrator arrives from a config drive"
type        = "disk"
arch        = "x86_64"
version     = "2026.10.2"

# Chain order is file order, lowest precedence first, matching the `consumes`
# edges a guest bakes into /etc/pkg/repos.d. Common shadows Base by name.
#
# Trust is per repo because it is per repo in reality: Base and Common are
# signed by different keys, and naming only one composes 90 packages and then
# refuses the first manifest from the other.
[[repos]]
name      = "Sandcastle-Base"
url       = "http://ur-build.lan/Sandcastle/Base"
tuf_root  = "/etc/pkg/sandcastle-base.root.json"
trust_key_file = "../Sandcastle-Base.keys"

[[repos]]
name      = "Sandcastle-Common"
url       = "http://ur-build.lan/Sandcastle/Common"
tuf_root  = "/etc/pkg/sandcastle-common.root.json"
trust_key_file = "../Sandcastle-Common.keys"
consumes  = ["Sandcastle-Base"]

[packages]
needed = [
[composition]
name        = "container-base"
description = "Minimal OCI base: a shell and pkg, no init"
type        = "oci"
arch        = "x86_64"
version     = "2026.10.1"

[[repos]]
name      = "Sandcastle-Base"
url       = "http://ur-build.lan/Sandcastle/Base"
tuf_root  = "/etc/pkg/sandcastle-base.root.json"
trust_key_file = "../Sandcastle-Base.keys"

[[repos]]
name      = "Sandcastle-Common"
url       = "http://ur-build.lan/Sandcastle/Common"
tuf_root  = "/etc/pkg/sandcastle-common.root.json"
trust_key_file = "../Sandcastle-Common.keys"
consumes  = ["Sandcastle-Base"]

[packages]
needed = [
[composition]
name        = "wsl-base"
description = "WSL distribution: a console userland booted by WSL's kernel under systemd"
type        = "wsl"
arch        = "x86_64"
version     = "2026.10.3"

[[repos]]
name      = "Sandcastle-Base"
url       = "http://ur-build.lan/Sandcastle/Base"
tuf_root  = "/etc/pkg/sandcastle-base.root.json"
trust_key_file = "../Sandcastle-Base.keys"

[[repos]]
name      = "Sandcastle-Common"
url       = "http://ur-build.lan/Sandcastle/Common"
tuf_root  = "/etc/pkg/sandcastle-common.root.json"
trust_key_file = "../Sandcastle-Common.keys"
consumes  = ["Sandcastle-Base"]

[packages]
needed = [
  • Live USBGNOME desktop on a USB stick, with the installer pinned to the dash.
  • ISOA live ISO for providers that take nothing but an uploaded ISO.
  • Cloud VMA headless qcow2 disk; the account and SSH key come from a config drive.
  • ContainerA minimal OCI base with bash, CA certificates and pkg.
  • WSLA console system running systemd on WSL’s own kernel.

06 · Testing

Tested on real machines. With your tests, too.

Every proposed change is built into images before it's merged, and the test runners take it from there. They boot them, install them, and check what comes up, down to screenshots of the desktop and its apps. On real hardware, over and over.

Dispatcher hands out the images and takes the results back, and a runner can be anything: a scripted harness, a person with curl, or an agent, on your own hardware. Runners work in isolation, and what they report is treated as untrusted.

How the test system works · watch it install

07 · Proof

Everyone can check your work.

Every package carries a signed record of how it was built: the sources, the recipe, and every package in the build environment. Anyone can rebuild it from that record, offline, and compare it byte for byte with what you shipped. The sources ship next to the binaries, so the evidence never goes missing. Together with the license information that ships with every package, that makes GPL compliance the default. Your legal and security reviews start from data, not archaeology.

SBOMs, vulnerability handling, security updates: in line with what CISA and the EU CRA now ask of anyone who ships software. Dispatcher does all three as a matter of course.

Verifying reproducible builds · pkg provenance · what provenance means

$ pkg provenance rebuild gzip \
    --with-extra-repo /etc/pkg/repo-extra.d/buildroot-6.4.toml
...
rebuild REPRODUCED gzip-1.15 rel 3  (full-manifest)
  record         0efe8cd9ec8e1fe23b686c289cdb041e43250736539fc7ef3b854e6a6c1dd470
  signed_by      36558dbbdc9ca7cf7b98b0a25cf96fa97725460cead87ac91b0672c24e5a7c85
  buildroot      Buildroot-6.4
  outputs        6 matched, 0 diverged, 0 missing, 0 extra, 0 unverified (of 6)
    ok         gzip/bin 1.15-3.x86_64
    ok         gzip/data 1.15-3.noarch
    ok         gzip/debug 1.15-3.x86_64
    ok         gzip/debugsrc 1.15-3.noarch
    ok         gzip/info 1.15-3.noarch
    ok         gzip/man 1.15-3.noarch

08 · Your depth

Customize as much as you need.

Every stack at the top of this page is a different depth. Start with one package on your laptop, and stop wherever it makes sense. Here's what each depth takes.

  1. 1 Local packagesA laptop and pkg. No server, no setup.
  2. 2a Custom repoOne machine running Dispatcher, set up with sudo dispatch init. Add a web server, and anyone can use your repo.
  3. 2b Overlay repoThe same, plus abi-watcher, and you reviewing the rebuilds it starts when the base changes under you.
  4. 3a Optimized rebuildThe capacity to rebuild every recipe for your architecture or baseline, and the odd porting fix.
  5. 3b Your own bootstrapAll of that, plus your own bootstrap cycle. glibc or musl, systemd or not: your call.

The tiers, in detail · a local build demo · deploying the build system

09 · Go

Start stacking.

Start at the top: one package, no server. Go deeper when you need to.

Rather read up first? Further reading, at the lower left, has the architecture series in order. Making the case to your team? Start here.