Module bootc_kargs

Module bootc_kargs 

Source
Expand description

This module handles the bootc-owned kernel argument lists in /usr/lib/bootc/kargs.d.

Structsยง

Config ๐Ÿ”’
The kargs.d configuration file.

Constantsยง

INITRD_ARG_PREFIX ๐Ÿ”’
This is used by dracut.
KARGS_PATH ๐Ÿ”’
The relative path to the kernel arguments which may be embedded in an image.
ROOTFLAGS_KEY ๐Ÿ”’
The kernel argument for configuring the rootfs flags.
ROOT_KEY ๐Ÿ”’
The default root filesystem mount specification.

Functionsยง

compute_apply_kargs_diff ๐Ÿ”’
Compute the diff between existing and remote kargs Apply the diff to the new kargs
compute_new_kargs ๐Ÿ”’
Computes new kernel arguments by applying the diff between existing and new kargs.d files.
get_kargs ๐Ÿ”’
Compute the kernel arguments for the new deployment. This starts from the booted karg, but applies the diff between the bootc karg files in /usr/lib/bootc/kargs.d between the booted deployment and the new one.
get_kargs_from_ostree ๐Ÿ”’
Load kargs.d files from the target dir
get_kargs_from_ostree_root ๐Ÿ”’
Load kargs.d files from the target ostree commit root
get_kargs_in_root ๐Ÿ”’
Load and parse all bootc kargs.d files in the specified root, returning a combined list.
parse_kargs_toml ๐Ÿ”’
This parses a bootc kargs.d toml file, returning the resulting vector of kernel arguments. Architecture matching is performed using sys_arch.
root_args_from_cmdline ๐Ÿ”’