[yocto] How to check list of installed packages to stop the build process conditionally

Iván Castell icastell at nayarsystems.com
Mon Mar 26 00:54:39 PDT 2018


Hello forum.

My layer provides two custom recipes A and B with exactly the same
functionality. To get a working image, one of these two recipes must be
included on the generated image (A_installed XOR B_installed).

So I need the build process being able to check the list of installed
packages, stopping the build process in case any of these two packages is
included.

Does yocto provides some mechanism to manage this issue?

Thank you in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180326/927c0b8b/attachment.html>


More information about the yocto mailing list