sstatesig: Correctly handle matches spanning stamps and sstatedir
PATCH 1/1 sstatesig: Correctly handle matches spanning stamps and sstatedir
By resetting filesdates at this point, we lose matches from stamps which may not have been in sstatedir. When we don't have hashes specicifed, its better to return all matches and have the caller decide which are relavent and which are not since this function has no ability to decide. There will almost always be one match from stamps we need to keep and refer to.
Signed-off-by Richard Purdie <[email protected]>
---
meta/lib/oe/sstatesig.py +0 -1
@@ -154,7 +154,6 @@ def find_siginfo(pn, taskname, taskhashlist, d, hashfn = None): else: sstatedir = d.getVar('SSTATE_DIR', True) - filedates = {} for root, dirs, files in os.walk(sstatedir): for fn in files: fullpath = os.path.join(root, fn)