summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/runqueue.py3
-rw-r--r--bitbake/lib/bb/siggen.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 65169931f1..29bfd65e0b 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1162,6 +1162,8 @@ class RunQueueData:
1162 1162
1163 self.init_progress_reporter.next_stage() 1163 self.init_progress_reporter.next_stage()
1164 1164
1165 bb.parse.siggen.set_setscene_tasks(self.runq_setscene_tids)
1166
1165 # Iterate over the task list and call into the siggen code 1167 # Iterate over the task list and call into the siggen code
1166 dealtwith = set() 1168 dealtwith = set()
1167 todeal = set(self.runtaskentries) 1169 todeal = set(self.runtaskentries)
@@ -1173,7 +1175,6 @@ class RunQueueData:
1173 self.prepare_task_hash(tid) 1175 self.prepare_task_hash(tid)
1174 1176
1175 bb.parse.siggen.writeout_file_checksum_cache() 1177 bb.parse.siggen.writeout_file_checksum_cache()
1176 bb.parse.siggen.set_setscene_tasks(self.runq_setscene_tids)
1177 1178
1178 #self.dump_data() 1179 #self.dump_data()
1179 return len(self.runtaskentries) 1180 return len(self.runtaskentries)
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 71fa018227..6207cbca30 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -455,7 +455,11 @@ class SignatureGeneratorUniHashMixIn(object):
455 report_taskdata = d.getVar('SSTATE_HASHEQUIV_REPORT_TASKDATA') == '1' 455 report_taskdata = d.getVar('SSTATE_HASHEQUIV_REPORT_TASKDATA') == '1'
456 tempdir = d.getVar('T') 456 tempdir = d.getVar('T')
457 fn = d.getVar('BB_FILENAME') 457 fn = d.getVar('BB_FILENAME')
458 key = fn + ':do_' + task + ':' + taskhash 458 tid = fn + ':do_' + task
459 key = tid + ':' + taskhash
460
461 if self.setscenetasks and tid not in self.setscenetasks:
462 return
459 463
460 # Sanity checks 464 # Sanity checks
461 cache_unihash = self.unitaskhashes.get(key, None) 465 cache_unihash = self.unitaskhashes.get(key, None)