diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index edf10105f9..de85326872 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -232,10 +232,14 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
232 | taskdep = dataCache.task_deps[fn] | 232 | taskdep = dataCache.task_deps[fn] |
233 | if 'nostamp' in taskdep and task in taskdep['nostamp']: | 233 | if 'nostamp' in taskdep and task in taskdep['nostamp']: |
234 | # Nostamp tasks need an implicit taint so that they force any dependent tasks to run | 234 | # Nostamp tasks need an implicit taint so that they force any dependent tasks to run |
235 | import uuid | 235 | if tid in self.taints and self.taints[tid].startswith("nostamp:"): |
236 | taint = str(uuid.uuid4()) | 236 | # Don't reset taint value upon every call |
237 | data = data + taint | 237 | data = data + self.taints[tid][8:] |
238 | self.taints[tid] = "nostamp:" + taint | 238 | else: |
239 | import uuid | ||
240 | taint = str(uuid.uuid4()) | ||
241 | data = data + taint | ||
242 | self.taints[tid] = "nostamp:" + taint | ||
239 | 243 | ||
240 | taint = self.read_taint(fn, task, dataCache.stamp[fn]) | 244 | taint = self.read_taint(fn, task, dataCache.stamp[fn]) |
241 | if taint: | 245 | if taint: |