Skip to main content

Module boot_source

Module boot_source 

Source
Expand description

/boot-source PUT body.

Per 21-api-compat-matrix.md /boot-source:

  • kernel_image_path — required; validated as SafePath (1024-byte cap, no NUL).
  • initrd_path — optional; same validation.
  • boot_args — optional; capped at 4096 bytes (Linux COMMAND_LINE_SIZE is typically 256–4096 depending on architecture; we use 4096 as the practical upper bound). The FDT builder applies the D23 composition rule downstream — this layer passes the user value through verbatim.

Structs§

BootSourceConfig
Validated /boot-source PUT body.
RawBootSourceConfig
Raw /boot-source PUT body, exactly off the wire.

Constants§

BOOT_ARGS_MAX
Maximum length of the boot_args cmdline string, in bytes.