Expand description
This module contains the functions to implement the commit procedures as part of building an ostree container image. https://github.com/ostreedev/ostree-rs-ext/issues/159
Constantsยง
- FORCE_
CLEAN_ ๐PATHS - Directories for which we will always remove all content.
Functionsยง
- clean_
paths_ ๐in - clean_
subdir ๐ - container_
commit ๐ - Entrypoint to the commit procedures, initially we just have one validation but we expect more in the future.
- prepare_
ostree_ commit_ in - Given a root filesystem, clean out empty directories and warn about files in /var. /run, /tmp, and /var/tmp have their contents recursively cleaned.
- prepare_
ostree_ commit_ in_ nonstrict - Like
prepare_ostree_commit_inbut only emits warnings about unsupported files in/varand will not error. - remove_
all_ ๐on_ mount_ recurse - Recursively remove the target directory, but avoid traversing across mount points.