diff options
| -rw-r--r-- | meta/classes/buildhistory.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 6d1e74afe1..c048ca290e 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # | 3 | # |
| 4 | # Based in part on testlab.bbclass and packagehistory.bbclass | 4 | # Based in part on testlab.bbclass and packagehistory.bbclass |
| 5 | # | 5 | # |
| 6 | # Copyright (C) 2013 Intel Corporation | 6 | # Copyright (C) 2011-2014 Intel Corporation |
| 7 | # Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org> | 7 | # Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org> |
| 8 | # | 8 | # |
| 9 | 9 | ||
| @@ -18,6 +18,8 @@ BUILDHISTORY_COMMIT_AUTHOR ?= "buildhistory <buildhistory@${DISTRO}>" | |||
| 18 | BUILDHISTORY_PUSH_REPO ?= "" | 18 | BUILDHISTORY_PUSH_REPO ?= "" |
| 19 | 19 | ||
| 20 | SSTATEPOSTINSTFUNCS += "buildhistory_emit_pkghistory" | 20 | SSTATEPOSTINSTFUNCS += "buildhistory_emit_pkghistory" |
| 21 | # We want to avoid influence the signatures of sstate tasks | ||
| 22 | SSTATEPOSTINSTFUNCS[vardepvalue] := "${@d.getVar('SSTATEPOSTINSTFUNCS', False).replace(' buildhistory_emit_pkghistory', '')}" | ||
| 21 | 23 | ||
| 22 | # | 24 | # |
| 23 | # Write out metadata about this package for comparision when writing future packages | 25 | # Write out metadata about this package for comparision when writing future packages |
| @@ -595,6 +597,7 @@ def _get_srcrev_values(d): | |||
| 595 | return (dict_srcrevs, dict_tag_srcrevs) | 597 | return (dict_srcrevs, dict_tag_srcrevs) |
| 596 | 598 | ||
| 597 | do_fetch[postfuncs] += "write_srcrev" | 599 | do_fetch[postfuncs] += "write_srcrev" |
| 600 | do_fetch[vardepsexclude] += "write_srcrev" | ||
| 598 | python write_srcrev() { | 601 | python write_srcrev() { |
| 599 | pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE', True) | 602 | pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE', True) |
| 600 | srcrevfile = os.path.join(pkghistdir, 'latest_srcrev') | 603 | srcrevfile = os.path.join(pkghistdir, 'latest_srcrev') |
