pub(crate) async fn pull_composefs_repo(
spec_imgref: &ImageReference,
delta: Option<&Delta>,
allow_missing_fsverity: bool,
use_unified: bool,
quiet: bool,
prog: ProgressWriter,
) -> Result<PullRepoResult>Expand description
Pulls an image into a composefs repository at /sysroot.
When use_unified is true, the image is first pulled into bootc-owned
containers-storage (so it’s available for podman run), then imported
from there into the composefs repo via zero-copy reflinks.
When use_unified is false (the default), the image is pulled directly
into the composefs repo via skopeo.
With a delta, the content is read from the delta file instead and no
network access happens at all; spec_imgref then only names what the
resulting deployment tracks. composefs-ctl recognises the delta artifact
from the layout’s manifest and reconstructs the changed layers against the
source image in the repository, failing if that image is absent.
Checks for boot entries in the image and returns them.