[OE-core] [PATCH] buildhistory-collect-srcrevs: write an srcrev when named, not None
Christopher Larson
kergoth at gmail.com
Mon Nov 21 22:06:55 UTC 2016
From: Christopher Larson <chris_larson at mentor.com>
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 <paul.eggleton at linux.intel.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
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
More information about the Openembedded-core
mailing list