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/efi-stub

Select the installed systemd EFI stub for an explicit architecture.

Select the installed systemd EFI stub for an explicit architecture.

Inputs

No artifact inputs.

Parameters

architecture

Required

Target architecture: amd64 or arm64. Must match the installed EFI artifacts.

Outputs

stub

Kind: file

Unsigned systemd EFI stub for the selected architecture.

Execution

Environment

Rugix Bakery

Source epoch

Consumed

Output cache

Allowed

Behavior

Select an unsigned systemd EFI stub from Rugix Bakery. The required architecture parameter accepts amd64 or arm64 and must match the kernel. Rugix Bakery includes resources for both architectures, independent of the builder’s architecture.

Supply the exported stub to core/uki with a kernel, initrd, command line, and OS identification file.

Example

For example, select an ARM64 stub:

uses = "core/efi-stub"
parameters.architecture = "arm64"

Save the invocation as build-rule.toml and run ./run-bakery bake rule build-rule.toml build/result.