Developer build path

Build packages, images and installers.

Use a running Cix host to compile a package, choose the outputs for a workload image, or build an installer for another machine.

Build path

From recipe to boot slot.

Self-hosting

Build from a Cix host.A Cix host can rebuild the control plane, kernel, root filesystem, and installer. The running host supplies CBS for later source builds, and cix-root now aligns cixd, cixctl, the dashboard, kernel modules, and their declared outputs into one assembled control-plane image.Read the complete build guide ↗
  1. 01SourceRecipe · snapshot · checksum
  2. 02BuildDeclared tools · isolated container
  3. 03PackageManifest · outputs · artefact
  4. 04ImageImmutable rootfs version
  5. 05DeployReadiness · rolling convergence
  6. 06HostVerified A/B slot or installer

Root delivery

Which files actually boot?

The control-plane root is sealed from the cix-root image tree. Root changes can trigger delivery once the image settles, under the host roll settings; the roll waits for package work before switching. Firmware is maintained separately in the host firmware image. The assembled root is staged according to the host’s update policy. Plan the switch to the new root.

01

Recipes

Start with a versioned input.

A package recipe records its source, checksum, version, dependencies, and build environment. New package builds use CPDL in build.cbs, executed by CBS; image recipes are JSON. Use a verbatim file declaration for a binary that must retain its exact bytes through package finalisation. Builds run within their cgroup memory budget. Sibling packages and outputs converge together when a recipe changes, preventing mixed-version path ownership. Older published shell recipes are historical; Cix no longer builds them.

build.cbsCPDL 1.0CBSJSON imagescix-recipes
02

Artefacts

Use a cache hit or build from source.

Cix Cache may provide a prebuilt package whose identity and SHA-256 match the recipe. For a current CPDL/CBS recipe, a cache miss can trigger a source build. Package outputs are first-class artefacts, and an assembly refuses a missing output rather than falling back to an ambiguous build directory. Installer releases are signed and verified before publication.

recipeoutputsSHA-256minisignrelease gate
03

Self-hosting

Build the platform from a Cix host.

A running Cix host can build cixd, cixctl, the dashboard, the kernel, and a fresh installer ISO. The root and installer take the control-plane files from declared outputs, and cix-root keeps the assembled root aligned with those package boundaries. A hostbuild can report its build identity so an operator can confirm what actually booted.

hostbuildkernel-modulescix-rootrootfsISO assemblybuild identity

Package consistency

One recipe build serves its outputs.

Images requesting different outputs of the same recipe share an in-flight build. A recipe can declare up to 8,192 sources. If several downloaded files fail their checksum checks, the build log lists each mismatch before the job fails. Files can move between the main package and its outputs across recipe versions in either install order; duplicate ownership within one version is still refused.

Build feedback

Follow the work while it runs.

Follow the package job in the dashboard to see its stage and build output. A failed build kept for inspection retains its slot for resumption. Other builds use free slots, and installs queue when all slots are occupied. Health also reports build identity, build time, and boot slot so a deployment can be confirmed after reboot.

live logsstage timingbuild identityA/B slotREST + WebSocket

Trust model

Inspect the build inputs.

Start here

Start with a package.

Use the quickstart to install packages in your first image. Follow the build guide to compile Cix and assemble installation media. See how an agent can inspect and resume a failed build.

Open the quickstart Build Cix itself