overlay profiles: Build only the mcs SELinux policy

Building multiple policies is pointless - changing the policy at
runtime would require relabeling the filesystem, which will not work,
because /usr is read-only.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
Krzesimir Nowak 2025-10-08 12:21:08 +02:00
parent 7a818b053d
commit eaaed3bba6

View File

@ -53,8 +53,8 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} curl_ssl_openssl ssl"
BOOTSTRAP_USE="${BOOTSTRAP_USE} xml"
# Set SELinux policy
POLICY_TYPES="targeted mcs mls"
SELINUX_POLICY_TYPES="targeted mcs mls"
POLICY_TYPES="mcs"
SELINUX_POLICY_TYPES="mcs"
# Disable packages or optional features with distribution issues.
ACCEPT_RESTRICT="* -bindist"