diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-19 09:40:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:26:27 +0000 |
commit | bd3fed53ac87ccbbe88c6569e190317ffeb91d92 (patch) | |
tree | 3d6924c35d86aeac773fafa3b50707d68b3fa1e8 /meta/lib/oe | |
parent | c61fe390bcc30680d638c85fe182948ab94cab7e (diff) | |
download | poky-bd3fed53ac87ccbbe88c6569e190317ffeb91d92.tar.gz |
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.
(From OE-Core rev: f4c1c9ad2c7e944d4926d0629611da97f9df6a9a)
(From OE-Core rev: 8629844640a5a4c6a9d9375e7b637bcbf3451c4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 797e9dd6a9..68e53f661c 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -150,7 +150,6 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
150 | else: | 150 | else: |
151 | sstatedir = d.getVar('SSTATE_DIR', True) | 151 | sstatedir = d.getVar('SSTATE_DIR', True) |
152 | 152 | ||
153 | filedates = {} | ||
154 | for root, dirs, files in os.walk(sstatedir): | 153 | for root, dirs, files in os.walk(sstatedir): |
155 | for fn in files: | 154 | for fn in files: |
156 | fullpath = os.path.join(root, fn) | 155 | fullpath = os.path.join(root, fn) |