Skip to content

Commit

Permalink
composepost: Add /usr/etc -> /etc to SELinux subs_dist
Browse files Browse the repository at this point in the history
This ensures file labeling equivalency outside of ostree too.
  • Loading branch information
cgwalters committed Oct 25, 2023
1 parent 7c91d1e commit 8c83311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/src/composepost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ fn postprocess_subs_dist(rootfs_dfd: &Dir) -> Result<()> {
}
writeln!(w, "# https://github.com/projectatomic/rpm-ostree/pull/1754")?;
writeln!(w, "/home /var/home")?;
writeln!(w, "# https://github.com/coreos/rpm-ostree/pull/4640")?;
writeln!(w, "/usr/etc /etc")?;
Ok(())
})?;
}
Expand Down

0 comments on commit 8c83311

Please sign in to comment.