diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-18 13:55:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-18 17:06:57 +0000 |
commit | 068e4289b597699cbff2dfde44ba833af4535281 (patch) | |
tree | d3fcbbf6589cb1fe780e28bbed77e25ab88a458d /meta/classes/package_deb.bbclass | |
parent | 04d108cd16f5ad8f92a62ea537d1330fee712470 (diff) | |
download | openembedded-core-068e4289b597699cbff2dfde44ba833af4535281.tar.gz openembedded-core-068e4289b597699cbff2dfde44ba833af4535281.tar.bz2 openembedded-core-068e4289b597699cbff2dfde44ba833af4535281.zip |
sstate/gcc: Fix shared workdir handling for siginfo files
For a shared workdir, any one of the fetch/unpack/patch tasks may run yet the
PN and architecture fields in SSTATE_PKGSPEC may differ. This makes looking up
the appropriate siginfo file near impossible.
I've tried several different ways of resolving this and this is the neatest
solution I could find, its still rather ugly. I believe the usefulness of
better sstate debugging outweighs the ugliness of the code.
This patch also changes the sstate_checkhashes() code to look for siginfo
files rather than the actual sstate packages themselves. This means the
function can be used in other contexts to find info files for tasks that
may not have sstate data. It is assumed that sstate mirrors will have both
files available. This is done to allow bitbake to query whether tasks have
matching signatures in sstate directories or not.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
0 files changed, 0 insertions, 0 deletions