Skip to main content

ensure_composefs_bootc_link

Function ensure_composefs_bootc_link 

Source
pub(crate) fn ensure_composefs_bootc_link(physical_root: &Dir) -> Result<()>
Expand description

On a composefs install the containers-storage lives under composefs/bootc/storage. To keep the rest of the code (and the /usr/lib/bootc/storage symlink which points through ostree/bootc) working, we create:

ostree/bootc -> ../composefs/bootc

This function is idempotent.