[poky] [PATCH 1/4] sstate.bbclass: add SSTATEPOSTINSTFUNCS

Richard Purdie richard.purdie at linuxfoundation.org
Wed Feb 23 08:21:27 PST 2011


On Tue, 2011-02-22 at 22:22 -0800, Scott Garman wrote:
> From: Scott Garman <scott.a.garman at intel.com>
> 
> When doing builds using sstate cache, there was no way to run
> the equivalent of a pkg_postinst function. This is needed by
> the SGML-related documentation recipes to properly update the
> catalog files when new DTDs and stylesheets are installed.
> 
> SSTATEPOSTINSTFUNCS is a new variable you can set to function(s)
> in your recipe to run after install is completed from sstate.
> 
> Thanks to Richard Purdie for suggesting this solution.

I merged this but I did drop your comments from the class. In the
general class code, comments about specific use cases become inaccurate
quickly and you'd usually just use grep to determine a variable's users.

Cheers,

Richard




More information about the poky mailing list