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

core/debian-bootstrap

Bootstrap a Debian root filesystem with mmdebstrap.

Preview
You're viewing the Next docs — a rolling preview of in-development changes. The current release docs may differ.

Bootstrap a Debian root filesystem with mmdebstrap.

Inputs

No artifact inputs.

Parameters

suite

Default: "stable"

Debian suite or codename, such as bookworm or trixie.

snapshot

Default: ""

Debian snapshot timestamp. Empty uses the selected mirror instead.

mirror

Default: ""

Custom Debian mirror URL. Empty uses mmdebstrap’s default. A snapshot takes precedence.

components

Default: "main"

Space-separated archive components for an explicit custom mirror.

Scheduling

Priority

10000000

Dependencies

None

Higher priorities run first within the selected recipe set unless before or after constraints require otherwise. Dependencies include other recipes without ordering them.

Behavior

Use this recipe in a root layer. A snapshot selects a dated Debian archive and disables its validity-date check. A custom mirror is passed to mmdebstrap as a trusted source. The components parameter applies to that custom mirror.

Example

For example, add the recipe to a root layer (set root = true instead of a parent):

layers/base.toml
root = true
recipes = ["core/debian-bootstrap"]

[parameters."core/debian-bootstrap"]
suite = "trixie"