Expand description
Detecting which backend a container image’s root filesystem is built for.
Functions§
- defaults_
to_ 🔒composefs_ backend - Whether
bootc installshould default to the composefs backend for this root: it is composefs-native, and it has no ostreeprepare-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.