summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/python2-layer/recipes-devtools/python/python_selinux.inc
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2019-12-23 16:21:49 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2019-12-24 09:16:06 -0500
commit26169b168f64cb2d88b3a24b55c7f0f937d5add7 (patch)
tree5c7b6c9a4a275b33f56267805926c380949e1fce /dynamic-layers/python2-layer/recipes-devtools/python/python_selinux.inc
parent7920e470c6cba499149fed40f8a017b6be9c162e (diff)
downloadmeta-selinux-26169b168f64cb2d88b3a24b55c7f0f937d5add7.tar.gz
libsemanage: fix race issue in parallel build
The install-pywarp target doesn't depend on swigify target because the semanage.py is not generated by swigify target but pywrap target. Here is the dependency chain: install-pywrap -> pywrap -> $(SWIGSO) -> $(SWIGLOBJ) -> $(SWIGCOUT) -> semanage.py But in the recipe, the swigify target is added explicitly in do_install: do_install_append() { oe_runmake install-pywrap swigify \ [snip] } This target will regenerate the semanage.py when do_install. So there will be a potential race issue in parallel build. The install-pywrap target is trying to install semanage.py when swigify target is generating the file. Then an empty semanage.py will be installed. Remove the target swigify to fix this issue. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'dynamic-layers/python2-layer/recipes-devtools/python/python_selinux.inc')
0 files changed, 0 insertions, 0 deletions