summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/siggen.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 09c9c8a25f..89bf5339dc 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -633,6 +633,10 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
633 a_taint = a_data.get('taint', None) 633 a_taint = a_data.get('taint', None)
634 b_taint = b_data.get('taint', None) 634 b_taint = b_data.get('taint', None)
635 if a_taint != b_taint: 635 if a_taint != b_taint:
636 if a_taint.startswith('nostamp:'):
637 a_taint = a_taint.replace('nostamp:', 'nostamp(uuid4):')
638 if b_taint.startswith('nostamp:'):
639 b_taint = b_taint.replace('nostamp:', 'nostamp(uuid4):')
636 output.append(color_format("{color_title}Taint (by forced/invalidated task) changed{color_default} from %s to %s") % (a_taint, b_taint)) 640 output.append(color_format("{color_title}Taint (by forced/invalidated task) changed{color_default} from %s to %s") % (a_taint, b_taint))
637 641
638 return output 642 return output
@@ -705,7 +709,11 @@ def dump_sigfile(a):
705 output.append("Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep])) 709 output.append("Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep]))
706 710
707 if 'taint' in a_data: 711 if 'taint' in a_data:
708 output.append("Tainted (by forced/invalidated task): %s" % a_data['taint']) 712 if a_data['taint'].startswith('nostamp:'):
713 msg = a_data['taint'].replace('nostamp:', 'nostamp(uuid4):')
714 else:
715 msg = a_data['taint']
716 output.append("Tainted (by forced/invalidated task): %s" % msg)
709 717
710 if 'task' in a_data: 718 if 'task' in a_data:
711 computed_basehash = calc_basehash(a_data) 719 computed_basehash = calc_basehash(a_data)