diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use index 24667fbc0d..dfd11a9693 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use @@ -150,3 +150,9 @@ sys-apps/findutils selinux app-containers/containerd btrfs device-mapper app-containers/docker btrfs device-mapper overlay seccomp app-containers/docker-cli hardened + +# Drop python dependencies from some SELinux packages. +# +# The vanilla USE flag must be enabled if python is disabled. +sys-apps/policycoreutils vanilla -python +sys-libs/libsemanage -python