]> code.ossystems Code Review - openembedded-core.git/commit
autotools/siteinfo: Avoid races over siteinfo files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Feb 2015 14:50:11 +0000 (14:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Feb 2015 14:49:31 +0000 (14:49 +0000)
commitc8b7aad133c3e3319345d50f85a91cbd5116f842
tree7400ac3d74c618dbe88312da674d25a515fcf3ef
parent6bf5cbbcac80ee818cc932d69227e70e41ce02d3
autotools/siteinfo: Avoid races over siteinfo files

If a siteinfo enabled tasks re-executes at the wrong moment whilst something else is
in do_configure, the _config files can be removed which upsets autoconf and
causes build failures.

Use the same approach as we do for dealing with the aclocal files. We already
parse the manifests so look out any *_config files and if so, copy them, then
reference the copy from siteinfo instead. This has the advantage of also being
more deterministic.

[YOCTO #7101]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass
meta/classes/siteinfo.bbclass