diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.1.ebuild index 21cea74be5..2002f71e94 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.1.ebuild @@ -30,7 +30,12 @@ SLOT="0" DEPEND=">=sys-libs/libsepol-${SEPOL_VER}:=" -RDEPEND="${DEPEND}" +# flatcar changes: add a weak blocker on policycoreutils-2.4 +# to prevent file collisions +# policycoreutils-2.4 and semodule-utils provide the same files +RDEPEND="${DEPEND} + !=sys-apps/policycoreutils-2.4-r2 +" src_prepare() { default