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

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


On Tuesday 09 September 2014 11:05:56 Paul Eggleton wrote:
> 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}

OK, so Richard informs me that there was a good reason for making this change. 
v2 incoming.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list