Crate composefs_boot

Crate composefs_boot 

Source
Expand description

Boot integration for composefs filesystem images.

This crate provides functionality to transform composefs filesystem images for boot scenarios by extracting boot resources, applying SELinux labels, and preparing bootloader entries. It supports both Boot Loader Specification (Type 1) entries and Unified Kernel Images (Type 2) for UEFI boot.

Modules§

bootloader
Bootloader entry parsing and manipulation.
cmdline
Kernel command line parsing and manipulation.
os_release
Parsing and handling of os-release files.
selabel
SELinux security context labeling for filesystem trees.
uki
Unified Kernel Image (UKI) parsing and metadata extraction.
write_boot
Boot entry writing and installation functionality.

Constants§

REQUIRED_TOPLEVEL_TO_EMPTY_DIRS 🔒
These directories are required to exist in images. They may have content in the container, but we don’t want to expose them in the final merged root.

Traits§

BootOps
Trait for transforming filesystem images for boot scenarios.