Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Ensure SELinux label policy is applied when merging image layers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeamland committed May 21, 2024
1 parent 9a4743a commit 0ab73f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/container/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ impl ImageImporter {
let modifier =
ostree::RepoCommitModifier::new(ostree::RepoCommitModifierFlags::CONSUME, None);
modifier.set_devino_cache(&devino);
modifier.set_sepolicy_from_commit(&repo, &base_commit, cancellable)?;

let mt = ostree::MutableTree::new();
repo.write_dfd_to_mtree(
Expand Down

0 comments on commit 0ab73f9

Please sign in to comment.