[yocto] pkg_postinst behavior?
Anders Darander
anders at chargestorm.se
Fri Sep 9 01:51:34 PDT 2016
* Takashi Matsuzawa <tmatsuzawa at uievolution.com> [160908 14:23]:
> Provided the following scripts are provided, in two bbappend recipes
> as below, which of them are actually executed and which are not? I
> have briefly tried and 'OK's below are called and 'NG's are not.
> AAA.bbappend:
> pkg_postinst_AAA() {} - OK
> pkg_postinst_AAA_append() {} - OK
> pkg_postinst_BBB() {} - NG
> pkg_postinst_BBB_append() {} - NG
A recipe can't influence another recipe, thus this isn't going to work.
However, a single recipe can build multiple packages, eg AAA and
AAA-foo.
Cheers,
Anders
--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
More information about the yocto
mailing list