From 7a8acfab9a9a5592ac0b43f91e90f0d5bf8d364e Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 19 May 2025 08:45:04 +0200 Subject: [PATCH] overlay profiles: Move python from package.mask to package.provided for prod Signed-off-by: Krzesimir Nowak --- .../profiles/coreos/targets/generic/prod/package.mask | 4 +++- .../profiles/coreos/targets/generic/prod/package.provided | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.provided diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.mask index 7f198c44e9..3a1bb20388 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.mask +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.mask @@ -3,8 +3,10 @@ # We don't want to support interpreted languages, changes/updates we make # would have a high risk of breaking users. +# +# This includes python, which is not listed here. Python is added to +# package.provided for selinux reasons. dev-lang/perl -dev-lang/python dev-lang/ruby # We do not configure/install grub like other distros so shipping the user diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.provided b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.provided new file mode 100644 index 0000000000..d9bc0a067f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/package.provided @@ -0,0 +1,3 @@ +# Mark python as provided for selinux stuff. We have put all the +# python stuff into install masks by now. +dev-lang/python-3.11.12