Skip to main content

Module status

Module status 

Source

Structsยง

BootloaderEntry ๐Ÿ”’
ComposefsCmdline ๐Ÿ”’
A parsed composefs command line
DeploymentBootInfo ๐Ÿ”’
Information about a deployment for soft reboot comparison
ImgConfigManifest ๐Ÿ”’
Used for storing the container image info alongside of .origin file
StagedDeployment ๐Ÿ”’
The JSON schema for staged deployment information stored in /run/composefs/staged-deployment

Constantsยง

BLS_ENTRIES_DIR ๐Ÿ”’
Directory where BLS-compatible bootloaders expect Type 1 boot entries.
GRUB_DIRS ๐Ÿ”’
Directories where GRUB keeps its own configuration and modules. Their presence means GRUB owns the boot flow even if BLS Type 1 entries also exist, because GRUB can consume those entries itself via the blscfg module โ€” Fedora and RHEL enable exactly that with GRUB_ENABLE_BLSCFG=true. /boot/grub2 is the Fedora/RHEL path, /boot/grub the Debian/Ubuntu one.

Functionsยง

aboot_entry ๐Ÿ”’
boot_entry_from_composefs_deployment ๐Ÿ”’
build_composefs_karg ๐Ÿ”’
Render a composefs karg that identifies the EROFS format of digest.
classify_bootloader ๐Ÿ”’
Pure classifier for the bootloader kind, split from I/O for testability.
compare_cmdline_skip_cfs ๐Ÿ”’
Compares cmdline first and second skipping either composefs karg spelling.
composefs_aboot_status ๐Ÿ”’
composefs_aboot_status_from ๐Ÿ”’
composefs_booted ๐Ÿ”’
Detect if we have composefs=<digest> in /proc/cmdline
composefs_deployment_status_from ๐Ÿ”’
find_bls_entry ๐Ÿ”’
get_bootloader ๐Ÿ”’
get_composefs_status ๐Ÿ”’
Get composefs status using provided storage and booted composefs data instead of scraping global state.
get_container_manifest_and_config ๐Ÿ”’
imgref = transport:image_name
get_imginfo ๐Ÿ”’
Retrieves the OCI manifest and config for a deployment from the composefs repository.
get_sorted_grub_uki_boot_entries ๐Ÿ”’
Get the grub UKI menuentries
get_sorted_grub_uki_boot_entries_helper ๐Ÿ”’
get_sorted_grub_uki_boot_entries_staged ๐Ÿ”’
Get the staged grub UKI menuentries
get_sorted_staged_type1_boot_entries ๐Ÿ”’
Same as get_sorted_type1_boot_entries, but returns staged entries See get_sorted_type1_boot_entries for more details
get_sorted_type1_boot_entries ๐Ÿ”’
Get sorted boot entries The sort here is done in terms of what will be shown on the boot menu For systemd-boot, the entries are sorted by sort-key For grub, the entries are sorted by the filename in descending order
get_sorted_type1_boot_entries_helper ๐Ÿ”’
image_version_and_created ๐Ÿ”’
Version and created timestamp for a composefs deployment image.
is_soft_rebootable ๐Ÿ”’
Determines whether a soft reboot can be performed between the currently booted deployment and a target deployment.
list_bootloader_entries ๐Ÿ”’
Get all Type1/Type2 bootloader entries
list_type1_entries ๐Ÿ”’
read_staged_deployment ๐Ÿ”’
reconcile_composefs_cmdline_with_mount_source ๐Ÿ”’
rollback_queued_from_first_entry ๐Ÿ”’
Whether the bootloader will boot a deployment other than the booted one, i.e. whether the first (default) boot entry references some other deployment.
set_reboot_capable_type1_deployments ๐Ÿ”’
set_reboot_capable_uki_deployments ๐Ÿ”’
set_soft_reboot_capability ๐Ÿ”’
Check whether any deployment is capable of being soft rebooted or not