diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.provided b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.provided index 8a8430c5c5..3bcb7981d2 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.provided +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.provided @@ -18,3 +18,8 @@ sys-devel/bpf-toolchain-14.2.0_p1 # Pulled by app-crypt/sbsigntools - we never needed it and it pulls a # ton of other packages. dev-perl/Locale-gettext-1.70.0_p20181130 + +# Pulled in by sys-apps/systemd, breaks the build - the image stage +# fails with "Failed to resolve typeattributeset statement at +# /var/lib/selinux/mcs/tmp/modules/400/ntp/cil:120" +sec-policy/selinux-ntp-2.20250618-r1 diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-257.7-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-257.7-r1.ebuild index 4ef4cdc5dc..58c53da515 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-257.7-r1.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-257.7-r1.ebuild @@ -98,11 +98,6 @@ DEPEND="${COMMON_DEPEND} PEFILE_DEPEND='dev-python/pefile[${PYTHON_USEDEP}]' # baselayout-2.2 has /run -# -# Flatcar: Drop sec-policy/selinux-ntp from deps (under selinux use -# flag). The image stage fails with "Failed to resolve -# typeattributeset statement at -# /var/lib/selinux/mcs/tmp/modules/400/ntp/cil:120" RDEPEND="${COMMON_DEPEND} >=acct-group/adm-0-r1 >=acct-group/wheel-0-r1 @@ -137,6 +132,7 @@ RDEPEND="${COMMON_DEPEND} ) selinux? ( sec-policy/selinux-base-policy[systemd] + sec-policy/selinux-ntp ) sysv-utils? ( !sys-apps/openrc[sysv-utils(-)]