mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
Merge pull request #1382 from flatcar-linux/jepio/selinux-base-bootstrap-fix
selinux-base: fix build issue during boostrap
This commit is contained in:
commit
49eaaefc82
@ -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[xml] - 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
|
||||
@ -81,11 +85,7 @@ src_configure() {
|
||||
|
||||
# Prepare initial configuration
|
||||
cd "${S}/refpolicy" || die
|
||||
# Parallel make fails with:
|
||||
# python3 -t -t -E -W error support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml
|
||||
# support/sedoctool.py exiting for: Error while parsing xml
|
||||
# make: *** [Makefile:415: conf.intermediate] Error 1
|
||||
emake -j1 conf
|
||||
emake conf
|
||||
|
||||
# Setup the policies based on the types delivered by the end user.
|
||||
# These types can be "targeted", "strict", "mcs" and "mls".
|
||||
|
Loading…
Reference in New Issue
Block a user