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.
This commit is contained in:
Jeremi Piotrowski 2021-10-29 07:55:42 +00:00
parent 3e548aca7e
commit 62a5205559

View File

@ -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