]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: add SSTATEPOSTINSTFUNCS
authorScott Garman <scott.a.garman@intel.com>
Wed, 23 Feb 2011 02:32:45 +0000 (18:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Feb 2011 15:52:51 +0000 (15:52 +0000)
commitfa6e7860821f9f5af15af0253ded2cc1fde61fdb
treec9e8fced9124dd40be71e3e4bd82d39c5056cbee
parent91c0b3a2e6d006224d8d2b661ca7528e9d036f1b
sstate.bbclass: add SSTATEPOSTINSTFUNCS

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.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
meta/classes/sstate.bbclass