[oe-commits] Richard Purdie : sstatesig: Correctly handle matches spanning stamps and sstatedir

git at git.openembedded.org git at git.openembedded.org
Fri Dec 20 12:24:14 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 8629844640a5a4c6a9d9375e7b637bcbf3451c4c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8629844640a5a4c6a9d9375e7b637bcbf3451c4c

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Dec 19 09:40:10 2013 +0000

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)

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/sstatesig.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 797e9dd..68e53f6 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -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)



More information about the Openembedded-commits mailing list