osbuild.ostree.selinux: xref ostree issue for this

We should drop this stage entirely once we have a way to
force on selinux in ostree.
This commit is contained in:
Colin Walters 2023-08-30 09:58:15 -04:00 committed by Ondřej Budai
parent feee1255b0
commit fd44af4fe7

View file

@ -60,6 +60,7 @@ def main(tree, options):
# is_selinux_enabled(2), which in our container is FALSE
# Therefore we have to do the same dance as ostree does, at
# least for now, and manually re-label the affected paths
# xref https://github.com/ostreedev/ostree/issues/2804 for a proper fix
se_policy = None
for p in ["etc/selinux", "usr/etc/selinux"]: