From: Christopher Larson <[email protected]>

The script was writing the main 'SRCREV' value for SRCREV_name, not the value
of the latter. In the case of recipes without 'SRCREV', like linux-yocto, it
was writing an srcrev of 'None' for all of them.

Cc: Paul Eggleton <[email protected]>
Signed-off-by: Christopher Larson <[email protected]>
---
 scripts/buildhistory-collect-srcrevs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/buildhistory-collect-srcrevs 
b/scripts/buildhistory-collect-srcrevs
index 8a03580..d375b04 100755
--- a/scripts/buildhistory-collect-srcrevs
+++ b/scripts/buildhistory-collect-srcrevs
@@ -101,7 +101,7 @@ def main():
                 for name, value in srcrevs.items():
                     orig = orig_srcrevs.get(name, orig_srcrev)
                     if options.reportall or value != orig:
-                        all_srcrevs[curdir].append((pn, name, srcrev))
+                        all_srcrevs[curdir].append((pn, name, value))
 
     for curdir, srcrevs in sorted(all_srcrevs.items()):
         if srcrevs:
-- 
2.8.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to