]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
populate_sdk_ext: Fix race condition on bb_unihashes.dat
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2022 18:17:42 +0000 (19:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2022 11:28:17 +0000 (12:28 +0100)
commit106a7e07057e4681e6fb06dfe9e28d2e183d667d
tree7f7aff966da051b932515256c7a4eae4a36b30ee
parent2b0a6f03137f24b211c8881cebf65732e550a942
populate_sdk_ext: Fix race condition on bb_unihashes.dat

There is a race were the bb_unihashes.dat file may end up zero sized due to
concurrent builds. Use recently added API within bitbake to copy the file
safely. Also use the opportunity to remove hardcoded filepaths internal to
bitbake from OE-Core.

Bump the minimum bitbake version to match the API being used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass
meta/conf/sanity.conf