diff options
-rw-r--r-- | meta/classes/buildhistory.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index ef4135b1fd..1a0e35d58b 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -18,8 +18,10 @@ 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 | 21 | # We want to avoid influence the signatures of sstate tasks - first the function itself: |
22 | SSTATEPOSTINSTFUNCS[vardepvalue] := "${@d.getVar('SSTATEPOSTINSTFUNCS', False).replace(' buildhistory_emit_pkghistory', '')}" | 22 | sstate_install[vardepsexclude] += "buildhistory_emit_pkghistory" |
23 | # then the value added to SSTATEPOSTINSTFUNCS: | ||
24 | SSTATEPOSTINSTFUNCS[vardepvalueexclude] .= "| buildhistory_emit_pkghistory" | ||
23 | 25 | ||
24 | # | 26 | # |
25 | # Write out metadata about this package for comparision when writing future packages | 27 | # Write out metadata about this package for comparision when writing future packages |