]> code.ossystems Code Review - openembedded-core.git/commit
glibc-package: Avoid race sstate races with do_stash_locale
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Feb 2017 12:29:04 +0000 (12:29 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Feb 2017 10:50:54 +0000 (10:50 +0000)
commit2a60bba00da9c4e2b1a1ce30e509dba82cc6c94a
treea85abab6ed917626d0a516cc1147f2d5873a06bc
parent68da6c98841f4450736ae170e443aa744c8b77eb
glibc-package: Avoid race sstate races with do_stash_locale

The change to make do_stash_locale an sstate task between do_install and
do_package has some unforeseen problems since the function deletes part of
${D} but may or may not run depending on whether the task is installed from
sstate.

This cleans up the current "pre packaging" function to be more deterministic
and result in the same set of files, whichever code path we end up reaching
that point by. Its not an ideal sitation but it should avoid the race
failures we've seen on some builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-package.inc