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