summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 1033785e05..e92a9c48a7 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -499,4 +499,17 @@ def dump_sigfile(a):
499 if 'taint' in a_data: 499 if 'taint' in a_data:
500 output.append("Tainted (by forced/invalidated task): %s" % a_data['taint']) 500 output.append("Tainted (by forced/invalidated task): %s" % a_data['taint'])
501 501
502 data = a_data['basehash']
503 for dep in a_data['runtaskdeps']:
504 data = data + a_data['runtaskhashes'][dep]
505
506 for c in a_data['file_checksum_values']:
507 data = data + c[1]
508
509 if 'taint' in a_data:
510 data = data + a_data['taint']
511
512 h = hashlib.md5(data).hexdigest()
513 output.append("Computed Hash is %s" % h)
514
502 return output 515 return output