[yocto] Post install section for multiple packages using a function

Burton, Ross ross.burton at intel.com
Fri Jun 12 04:21:38 PDT 2015


On 12 June 2015 at 12:15, Bipnesh, Abhinav (Abhinav) <
abhinavbipnesh at avaya.com> wrote:

> So I need to write an pkg_postinstall_PACKAGE section for 24 such
> packages. So is there a way I can do it through some function or way out.
>
>
Just set the variable pkg_postinstall_[PACKAGE] in your function to the
string you want to use as the postinst.  Many classes already do this, such
as systemd.bbclass.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150612/a479bdc7/attachment.html>


More information about the yocto mailing list