]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/sstatesig: fix finding native siginfo files in sstate-cache
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 6 Apr 2017 22:01:43 +0000 (10:01 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:06 +0000 (22:48 +0100)
commit8cb472e4ed25e56ec0d9cf6d8d101d1ab6687a5b
treed6786d8238f3f7a2efb359250891780b698ee8ce
parent88dc8b532817f4779b35422a413d5c700c130a74
lib/oe/sstatesig: fix finding native siginfo files in sstate-cache

When comparing signatures with bitbake-diffsigs -t or bitbake -S
printdiff, we use this find_siginfo() function implemented in this
module to find the siginfo/sigdata files corresponding to the tasks
we're looking for. However, native sstate files go into a
NATIVELSBSTRING subdirectory and there was no handling for this when
asking about native recipes.

I'm not even sure why we were walking SSTATE_DIR in order to find
this - we don't need to, we just need to run glob.glob() on the filespec
we calculate, which should be a little bit more efficient.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py