Skip to main content

Module image

Module image 

Source
Expand description

Detecting which backend a container image’s root filesystem is built for.

Functions§

defaults_to_composefs_backend 🔒
Whether bootc install should default to the composefs backend for this root: it is composefs-native, and it has no ostree prepare-root.conf (has_ostree_prepareroot, which the caller loads anyway), without which it can’t be installed with the ostree backend. An image that has both configurations still defaults to ostree.
is_composefs_native 🔒
Whether the image is intended to be deployed with the composefs backend, which is signaled by the presence of a setup-root configuration file (even if empty).
setup_root_conf_path 🔒
The setup-root configuration, relative to the root directory.