Module kernel

Module kernel 

Source
Expand description

Kernel detection for container images.

This module provides functionality to detect kernel information in container images, supporting both traditional kernels (with separate vmlinuz/initrd) and Unified Kernel Images (UKI).

StructsΒ§

Kernel πŸ”’
Information about the kernel in a container image.
KernelInternal πŸ”’
Internal-only kernel wrapper with extra path information that are useful but we don’t want to leak out via serialization to inspection.

EnumsΒ§

KernelPath πŸ”’
Path to kernel component(s)

FunctionsΒ§

find_kernel πŸ”’
Find the kernel in a container image root directory.
find_uki_path πŸ”’
Returns the path to the first UKI found in the container root, if any.