When tasks don't match, the printdiff output alone can be misleading about which tasks didn't match. Print the mismatches explicitly to aid debugging.
Signed-off-by: Richard Purdie <[email protected]> --- scripts/lib/checklayer/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py index 046a146de06..bd9b1714a0f 100644 --- a/scripts/lib/checklayer/__init__.py +++ b/scripts/lib/checklayer/__init__.py @@ -425,6 +425,9 @@ def compare_signatures(old_sigs, curr_sigs): if not sig_diff: return None + for task in sig_diff: + print("%s changed %s -> %s" % (task, sig_diff[task][0], sig_diff[task][1])) + # Beware, depgraph uses task=<pn>.<taskname> whereas get_signatures() # uses <pn>:<taskname>. Need to convert sometimes. The output follows # the convention from get_signatures() because that seems closer to
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#238276): https://lists.openembedded.org/g/openembedded-core/message/238276 Mute This Topic: https://lists.openembedded.org/mt/119719807/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
