* [PATCH] sstatesig: Correctly handle matches spanning stamps and sstatedir
@ 2013-12-19 9:40 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-12-19 9:40 UTC (permalink / raw)
To: openembedded-core
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 <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 835cee8..5354c75 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-19 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 9:40 [PATCH] sstatesig: Correctly handle matches spanning stamps and sstatedir Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox