[OE-core] [PATCH 1/1] classes/sstate: fix regression affecting buildhistory

Paul Eggleton paul.eggleton at linux.intel.com
Tue Sep 9 10:05:56 UTC 2014


SSTATEPOSTINSTFUNCS needs to be set with ?= here - if it's = it'll wipe
out what is set in that variable in buildhistory, which ends up being
parsed earlier than the statement in sstate.bbclass. This fixes
buildhistory no longer recording package information since OE-Core
revision 9d659c6f20fa4a141b491c62a3ef0dfb1f896d9c.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 meta/classes/sstate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index ead829e..6a77d18 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -35,7 +35,7 @@ SSTATE_MANMACH ?= "${SSTATE_PKGARCH}"
 SSTATECREATEFUNCS = "sstate_hardcode_path"
 SSTATEPREINSTFUNCS = ""
 SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack"
-SSTATEPOSTINSTFUNCS = ""
+SSTATEPOSTINSTFUNCS ?= ""
 EXTRA_STAGING_FIXMES ?= ""
 
 # Specify dirs in which the shell function is executed and don't use ${B}
-- 
1.9.3




More information about the Openembedded-core mailing list