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/initialize-boot

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

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

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

Inputs

boot

Kind: directory

Boot filesystem source tree.

config

Kind: directory

Configuration filesystem source tree.

Parameters

target

Default: "unknown"

Rugix boot target: rpi-tryboot, rpi-uboot, generic-grub-efi, bsp, or unknown.

architecture

Default: "amd64"

Target architecture.

Outputs

boot

Kind: directory

Initialized boot tree.

config

Kind: directory

Bootloader, firmware, and initial boot-selection configuration.

Execution

Environment

Rugix Bakery

Source epoch

Consumed

Output cache

Allowed

Initialize one of Rugix’s predefined boot flows before sizing or creating its filesystems. The rule copies both input trees, installs bootloader or firmware files into the configuration tree, and adds the bootstrap marker.

For example:

uses = "core/initialize-boot"
inputs.boot = { path = "prepared-boot" }
inputs.config = { path = "prepared-config" }
parameters.target = "generic-grub-efi"
parameters.architecture = "amd64"

The supported boot flows are GRUB EFI, Raspberry Pi tryboot, and Raspberry Pi U-Boot. The bsp and unknown targets retain the supplied trees without installing a predefined boot flow. Bootloader binaries and firmware come from the Rugix Bakery runtime, which contributes to the rule’s cache identity.

Use these output trees when resolving dynamic partition capacities. Once the partition table exists, core/prepare-boot patches the root partition reference.