Skip to contentSkip to conversation

bitbake-diffsigs: Support tasks with dependencies correctly again

PATCH Peter Kjellerstedt 1 participant 1 message Feb 5, 2024 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Ignore this. Sent it to the wrong list, and it seems JaMa beat me to it on the bitbake list.

//Peter

Quoted 33 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 5 februari 2024 17:46
To: [email protected]
Subject: [OE-core] [PATCH] 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
index a8f49191b0..8202c78623 100755
@@ -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)