buildhistory-collect-srcrevs: write an srcrev when named, not None
PATCH 1/1 buildhistory-collect-srcrevs: write an srcrev when named, not None
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(-)
scripts/buildhistory-collect-srcrevs +1 -1
@@ -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:
Signature · 1 line
2.8.0