]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatesig: Correctly handle matches spanning stamps and sstatedir
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Dec 2013 09:40:10 +0000 (09:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2013 12:25:22 +0000 (12:25 +0000)
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)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index 797e9dd6a98780ccb18f23377ea3e4362f672424..68e53f661c798f861e09a5f7001dae8b28cedad2 100644 (file)
@@ -150,7 +150,6 @@ def find_siginfo(pn, taskname, taskhashlist, d):
             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)