mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-02 19:11:20 +02:00
sec-policy/selinux-base: force sequential build in src_configure
The build has been failing occasionally, due to some kind of race condition. The last lines of log output look like this: Updating policy/booleans.conf and policy/modules.conf 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 * ERROR: sec-policy/selinux-base-2.20200818-r2::coreos failed (configure phase): * emake failed Try to fix this by forcing a sequential build. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
739e98dc59
commit
986a4f6a2a
@ -81,7 +81,11 @@ src_configure() {
|
||||
|
||||
# Prepare initial configuration
|
||||
cd "${S}/refpolicy" || die
|
||||
emake conf
|
||||
# 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
|
||||
|
||||
# Setup the policies based on the types delivered by the end user.
|
||||
# These types can be "targeted", "strict", "mcs" and "mls".
|
||||
|
Loading…
x
Reference in New Issue
Block a user