summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 314a30908b..d9a67a3167 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1394,7 +1394,7 @@ class RunQueue:
1394 cache[tid] = iscurrent 1394 cache[tid] = iscurrent
1395 return iscurrent 1395 return iscurrent
1396 1396
1397 def validate_hashes(self, tocheck, data, currentcount=None, siginfo=False): 1397 def validate_hashes(self, tocheck, data, currentcount=0, siginfo=False):
1398 valid = set() 1398 valid = set()
1399 if self.hashvalidate: 1399 if self.hashvalidate:
1400 sq_data = {} 1400 sq_data = {}
@@ -1601,7 +1601,7 @@ class RunQueue:
1601 1601
1602 tocheck.add(tid) 1602 tocheck.add(tid)
1603 1603
1604 valid_new = self.validate_hashes(tocheck, self.cooker.data, None, True) 1604 valid_new = self.validate_hashes(tocheck, self.cooker.data, 0, True)
1605 1605
1606 # Tasks which are both setscene and noexec never care about dependencies 1606 # Tasks which are both setscene and noexec never care about dependencies
1607 # We therefore find tasks which are setscene and noexec and mark their 1607 # We therefore find tasks which are setscene and noexec and mark their
@@ -1982,7 +1982,7 @@ class RunQueueExecute:
1982 continue 1982 continue
1983 logger.debug(1, "Task %s no longer deferred" % nexttask) 1983 logger.debug(1, "Task %s no longer deferred" % nexttask)
1984 del self.sq_deferred[nexttask] 1984 del self.sq_deferred[nexttask]
1985 valid = self.rq.validate_hashes(set([nexttask]), self.cooker.data, None, False) 1985 valid = self.rq.validate_hashes(set([nexttask]), self.cooker.data, 0, False)
1986 if not valid: 1986 if not valid:
1987 logger.debug(1, "%s didn't become valid, skipping setscene" % nexttask) 1987 logger.debug(1, "%s didn't become valid, skipping setscene" % nexttask)
1988 self.sq_task_failoutright(nexttask) 1988 self.sq_task_failoutright(nexttask)