bitbake-diffsigs: Support tasks with dependencies correctly again
PATCH 1/1 bitbake-diffsigs: Support tasks with dependencies correctly again
This was missed in commit 5439aca056c84ab4410aaf24bdb68e896191d8e1 that adapted the code to the changes made to find_siginfo(), which now returns a dict for each file rather than just the filename.
--- bitbake/bin/bitbake-diffsigs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/bitbake-diffsigs +1 -1
@@ -99,7 +99,7 @@ def recursecb(key, hash1, hash2): elif hash2 not in hashfiles: recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash2)) else: - out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color) + out2 = bb.siggen.compare_sigfiles(hashfiles[hash1]['path'], hashfiles[hash2]['path'], recursecb, color=color) for change in out2: for line in change.splitlines(): recout.append(' ' + line)
see https://lists.openembedded.org/g/bitbake-devel/message/15824 :)
Quoted 37 lines · Peter Kjellerstedt
This was missed in commit
5439aca056c84ab4410aaf24bdb68e896191d8e1that adapted the code to the changes made tofind_siginfo(), which now returns a dict for each file rather than just the filename.Signed-off-by Peter Kjellerstedt <[email protected]>--- bitbake/bin/bitbake-diffsigs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bitbake/bin/bitbake-diffsigs +1
-1@@ -99,7 +99,7 @@ def recursecb(key, hash1, hash2): elif hash2 not in hashfiles: recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash2)) else: - out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color) + out2 = bb.siggen.compare_sigfiles(hashfiles[hash1]['path'], hashfiles[hash2]['path'], recursecb, color=color)for change in out2:
for line inchange.splitlines():
recout.append(' ' + line)-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194955):
https://lists.openembedded.org/g/openembedded-core/message/194955
Mute This Topic: https://lists.openembedded.org/mt/104179998/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-