aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-03-09 13:15:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 16:59:56 +0000
commit4b08f982a2b15bff9092f60f7957301bb2d2108b (patch)
tree4186586aed4ef1aa7c1a80f3b7e3663ac3684433
parent28d29004aa7d17794216d7df55afc308b1f0e806 (diff)
downloadopenembedded-core-contrib-4b08f982a2b15bff9092f60f7957301bb2d2108b.tar.gz
openembedded-core-contrib-4b08f982a2b15bff9092f60f7957301bb2d2108b.tar.bz2
openembedded-core-contrib-4b08f982a2b15bff9092f60f7957301bb2d2108b.zip
lib/sstatesig: skip shared_workdir when checking locked sigs
do_shared_workdir is not a proper sstate task, it always reruns if needed, so special-case it in warnings when checking locked sigs. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/sstatesig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index d65586b355d..4f115e9dc1b 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -194,6 +194,8 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
if task not in ret:
for pn in self.lockedsigs:
if sq_hash[task] in self.lockedsigs[pn].itervalues():
+ if sq_task[task] == 'do_shared_workdir':
+ continue
self.mismatch_msgs.append("Locked sig is set for %s:%s (%s) yet not in sstate cache?"
% (pn, sq_task[task], sq_hash[task]))