summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-09-09 11:41:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-10 13:52:31 +0100
commita41d97a23bc8bd01c9bc625d21a3c933d392dcc0 (patch)
treedcb48062aecac17a80c6f39bd012dfed1611e2a5 /meta/classes/buildhistory.bbclass
parent0d3c79524c95a7ab3b87c9dcb49746746900a18a (diff)
downloadpoky-a41d97a23bc8bd01c9bc625d21a3c933d392dcc0.tar.gz
classes/buildhistory: fix for sstate class change
SSTATEPOSTINSTFUNCS is now set with = in sstate.bbclass, and because the line here in buildhistory.bbclass ends up being parsed before that we now need to use _append or the value we are adding will be wiped out. This fixes buildhistory no longer recording package information since OE-Core revision 9d659c6f20fa4a141b491c62a3ef0dfb1f896d9c. (From OE-Core rev: b5c05b474554925524073023f3aac2532c87537f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r--meta/classes/buildhistory.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index e8cdee57d0..8b5d5c214c 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -17,7 +17,7 @@ BUILDHISTORY_COMMIT ?= "0"
17BUILDHISTORY_COMMIT_AUTHOR ?= "buildhistory <buildhistory@${DISTRO}>" 17BUILDHISTORY_COMMIT_AUTHOR ?= "buildhistory <buildhistory@${DISTRO}>"
18BUILDHISTORY_PUSH_REPO ?= "" 18BUILDHISTORY_PUSH_REPO ?= ""
19 19
20SSTATEPOSTINSTFUNCS += "buildhistory_emit_pkghistory" 20SSTATEPOSTINSTFUNCS_append = " buildhistory_emit_pkghistory"
21# We want to avoid influence the signatures of sstate tasks - first the function itself: 21# We want to avoid influence the signatures of sstate tasks - first the function itself:
22sstate_install[vardepsexclude] += "buildhistory_emit_pkghistory" 22sstate_install[vardepsexclude] += "buildhistory_emit_pkghistory"
23# then the value added to SSTATEPOSTINSTFUNCS: 23# then the value added to SSTATEPOSTINSTFUNCS: