This repository has been archived by the owner on May 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
3086ea9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use python-any-r1 for this (to ensure that the used Python for build matches the dependency). I'll add that to Gentoo shortly. Good spot, thanks!
3086ea9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in gentoo/gentoo@e95da4d.
3086ea9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks for picking it up! I wasn't sure about the
python-any-r1
usage, but your commit makes sense.3086ea9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem! If you get time, the Python guide is worth reading. The eclasses are definitely complex but worth knowing roughly when to use each (or just to check the Python guide if you're not sure, which is what I end up doing often ;)).
Thanks for spotting it!