From 62a52055592cad9245b25ca106ce53bebed32b65 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Fri, 29 Oct 2021 07:55:42 +0000 Subject: [PATCH] sec-policy/selinux-base: add missing BDEPEND=python[xml] selinux-base requires python to generate xml files, but the dependency is implicit (through policycoreutils). Flatcar made that dependency conditional on USE=python in policycoreutils so that we don't include python in our images, but this causes selinux-base to fail depending on ordering in the bootstrap process. Fix that failure by addin an explicit dependency. --- .../selinux-base/selinux-base-2.20200818-r2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/sec-policy/selinux-base/selinux-base-2.20200818-r2.ebuild b/sdk_container/src/third_party/coreos-overlay/sec-policy/selinux-base/selinux-base-2.20200818-r2.ebuild index 6546c608fb..f862dcd542 100644 --- a/sdk_container/src/third_party/coreos-overlay/sec-policy/selinux-base/selinux-base-2.20200818-r2.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sec-policy/selinux-base/selinux-base-2.20200818-r2.ebuild @@ -31,7 +31,11 @@ RDEPEND=">=sys-apps/policycoreutils-2.8 >=sys-apps/checkpolicy-2.8 " DEPEND="${RDEPEND}" -BDEPEND="sys-devel/m4" +# flatcar: BDEPEND on python3[xm] - normally pulled in through policycoreutils +# but we made that dep conditional on USE=python +BDEPEND="sys-devel/m4 + >=dev-lang/python-3[xml] +" # flatcar changes