Skip to main content
Rugix Bakery 0.9.6 is here: Build rules for custom image pipelines and verified boot for EFI and Raspberry Pi. Read the release post.
Documentation

Rules

Artifact transformations and compositions supplied by this repository.

Artifact transformations and compositions supplied by this repository.

Boot Artifacts

core/efi-stub

Select the installed systemd EFI stub for an explicit architecture.

core/initrd-debian

Generate an initrd with the supplied root filesystem’s mkinitramfs.

core/kernel-debian

Select one installed Debian kernel and its exact version.

core/systemd-boot

Select the installed systemd-boot executable for an explicit architecture.

core/uki

Assemble a UKI from a kernel, generated initrd, and boot parameters.

Filesystem Images

core/image-ext4

Create an ext4 image from a directory tree.

core/image-fat

Create a FAT image from a directory tree.

core/image-squashfs

Create a SquashFS image from a directory tree.

core/image-squashfs-verity

Create a SquashFS image with appended dm-verity authentication data.

Image Assembly

core/archive-tree

Archive a directory tree while preserving Linux filesystem metadata.

core/assemble-disk

Populate an existing disk layout with numbered partition images.

core/image-gpt

Assemble a GPT disk from a Rugix layout and partition images.

core/image-layout

Resolve a Rugix Bakery image layout into an unpopulated disk image.

core/image-release

Assemble a factory GPT disk and an authenticated update bundle from shared payloads.

core/initialize-boot

Install Rugix boot-flow files into boot and configuration trees.

core/prepare-boot

Patch an initialized Rugix boot tree against resolved disk geometry.

core/sbom

Scan a filesystem tree and produce SPDX and CycloneDX software inventories.

core/write-text

Create a text file from a parameter.

Integrity

core/append-verity

Append a detached verity hash tree to a data image.

core/dm-verity

Create a detached dm-verity hash tree and root hash for a data image.

Signing

core/sign-cms

Create a CMS signature with an RSA key.

core/sign-efi

Sign a PE executable for UEFI Secure Boot.

core/sign-rpi

Sign a Raspberry Pi boot image with the pinned upstream signing tool.

core/verify-efi

Verify an EFI signature against a certificate and attach it to the unsigned image.

core/verify-rpi

Verify a Raspberry Pi boot signature against a public key.

Update Bundles

core/attach-bundle-signature

Verify a CMS signature over a Rugix bundle’s metadata and attach it.

core/bundle-rugix

Create an indexed Rugix update bundle from a manifest and payloads.

core/prepare-bundle-signature

Extract the metadata that a Rugix bundle signature covers.

core/sign-bundle-rugix

Authenticate a Rugix bundle with a configurable signing certificate.

Verified Boot

core/image-debian-efi-verified

Build a signed systemd-boot A/B release with a verified root from a prepared Debian root filesystem.

core/image-debian-rpi-verified

Build a signed Raspberry Pi 4/CM4 or Pi 5 A/B release with a verified root from a prepared Debian root filesystem.

core/image-efi-verified

Build a signed systemd-boot A/B release with a verified root from an existing root filesystem.

core/image-rpi-verified

Build a signed Raspberry Pi 4/CM4 or Pi 5 A/B release with a verified root from an existing root filesystem.

core/layout-efi-ab

Reserve the named A/B partitions for the EFI verified boot flow.

core/layout-rpi-ab

Reserve the named A/B partitions for the Raspberry Pi verified boot flow.

core/prepare-efi-esp

Prepare an ESP tree with a signed bootloader and initial A/B UKI.

core/prepare-rpi-boot

Package a kernel, initrd, firmware and authenticated command line for Raspberry Pi.

core/prepare-rpi-config

Initialize Raspberry Pi A/B tryboot selection and Rugix bootstrap.

core/verified-cmdline

Bind a verified root hash into boot arguments.