Skip to main content

mount_ostree_state

Function mount_ostree_state 

Source
fn mount_ostree_state(
    root: &Dir,
    deployment: &Dir,
    var: &Dir,
    etc_transient: bool,
) -> Result<()>
Expand description

Mount /etc and /var as ostree-prepare-root does at boot: /etc is the deployment’s persistent copy, or a transient overlay of /usr/etc when prepare-root.conf enables etc.transient.