Module write_boot

Module write_boot 

Source
Expand description

Boot entry writing and installation functionality.

This module provides functions to write boot entries to the filesystem, handling both Boot Loader Specification Type 1 entries (separate kernel/initrd files) and Type 2 Unified Kernel Images. It manages file placement, directory creation, and command line argument injection for composefs boot scenarios.

Functionsยง

write_boot_simple
Writes boot entry to the boot partition
write_t1_simple
Writes a Type 1 boot entry to the boot directory.
write_t2_simple
Writes a Type 2 boot entry (UKI) to the boot directory.