Skip to main content

SKIP_PATHS

Constant SKIP_PATHS 

Source
const SKIP_PATHS: &[&str];
Expand description

Paths that should be skipped during export.

  • sysroot/ostree is bootc/ostree-specific and shouldn’t be in the exported tarball.
  • tmp and var/tmp are meant to hold only ephemeral, runtime-created content (the same paths ostree-ext::commit always cleans before committing). They can end up containing arbitrary files dropped by package post-install scripts (e.g. rhc) that the SELinux policy has no file-context entry for, which would otherwise turn into a hard failure when computing labels for the tar entries.