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/bundle-rugix

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

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

Inputs

manifest

Kind: file

Rugix bundle manifest in TOML format.

payloads

Kind: directory

Payload directory with paths referenced by the manifest.

Outputs

bundle

Kind: file

Indexed Rugix update bundle.

hash

Kind: file

Bundle hash for update verification.

Execution

Environment

Rugix Bakery

Source epoch

Consumed

Output cache

Allowed

Behavior

The manifest chooses payload paths, slot names, and encodings. The rule does not impose a boot scheme or partition layout. It uses Rugix Bundler installed in Rugix Bakery; the Rugix Bakery container identity contributes to the build’s cache identity.

Example

For example, package a manifest and its payload directory. The bundle format guide explains manifest fields and payload encodings:

uses = "core/bundle-rugix"
inputs.manifest = { path = "release/rugix-bundle.toml" }
inputs.payloads = { path = "release/payloads" }

Save the invocation as build-rule.toml in the project. Run ./run-bakery bake rule build-rule.toml build/result; exported artifacts appear under their output names in build/result.