mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
The container-inspect command previously only reported kernel arguments. Extend it to also report kernel information, including whether the image contains a traditional kernel or a Unified Kernel Image (UKI). This consolidates UKI detection logic previously in bootc_composefs::boot into a new kernel module that can find kernels via either the traditional /usr/lib/modules/<version>/vmlinuz path or UKI files in /boot/EFI/Linux/. The ContainerInspect output now includes a "kernel" field with version and unified (boolean) properties, enabling tooling to determine the boot method before installation. Assisted-by: OpenCode (Claude Opus 4.5) Signed-off-by: Colin Walters <walters@verbum.org>