diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-04-07 09:52:06 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:32 +0100 |
commit | 8c015e45fffe2cfb483c196e78554bfbd9cf66cc (patch) | |
tree | 254c5aee31549ffcb7b129827164c9bf3c1711fe /bitbake/lib/bb/siggen.py | |
parent | 445e622b237edebbcfd02044b2b25a311a91af8f (diff) | |
download | poky-8c015e45fffe2cfb483c196e78554bfbd9cf66cc.tar.gz |
bitbake: lib/bb/siggen: don't show unchanged runtaskdeps list
If the runtaskdeps list hasn't actually changed (but the signatures of
some of the tasks did) then it doesn't make sense to print out the old
and new lists as they are both the same and may be very long, e.g. for
do_rootfs in OE.
(Bitbake rev: cb170543605288b3e8badfac3a54c588f4c95413)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index f497fb9caf..c6b14c2942 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -506,10 +506,14 @@ def compare_sigfiles(a, b, recursecb = None): | |||
506 | changed.append("%s with hash %s\n changed to\n%s with hash %s" % (a, a_data['runtaskhashes'][a], b, b_data['runtaskhashes'][b])) | 506 | changed.append("%s with hash %s\n changed to\n%s with hash %s" % (a, a_data['runtaskhashes'][a], b, b_data['runtaskhashes'][b])) |
507 | 507 | ||
508 | if changed: | 508 | if changed: |
509 | output.append("runtaskdeps changed from %s to %s" % (clean_basepaths_list(a_data['runtaskdeps']), clean_basepaths_list(b_data['runtaskdeps']))) | 509 | clean_a = clean_basepaths_list(a_data['runtaskdeps']) |
510 | clean_b = clean_basepaths_list(b_data['runtaskdeps']) | ||
511 | if clean_a != clean_b: | ||
512 | output.append("runtaskdeps changed from %s to %s" % (clean_a, clean_b)) | ||
513 | else: | ||
514 | output.append("runtaskdeps changed:") | ||
510 | output.append("\n".join(changed)) | 515 | output.append("\n".join(changed)) |
511 | 516 | ||
512 | |||
513 | if 'runtaskhashes' in a_data and 'runtaskhashes' in b_data: | 517 | if 'runtaskhashes' in a_data and 'runtaskhashes' in b_data: |
514 | a = a_data['runtaskhashes'] | 518 | a = a_data['runtaskhashes'] |
515 | b = b_data['runtaskhashes'] | 519 | b = b_data['runtaskhashes'] |