[yocto] How to enforce installation of image specific config file/package

Khem Raj raj.khem at gmail.com
Sat Apr 2 01:12:58 PDT 2016


> On Apr 1, 2016, at 5:38 AM, Isak Lichtenstein <Isak.Lichtenstein at kistler.com> wrote:
> 
> Hi Joël,
>> 
>> Hi,
>> 
>> One idea may be to create one recipe per configuration file.
>> So in each image recipe, you would add one of those recipes to
>> IMAGE_INSTALL_append.
> 
> That's exactly what I'm doing now. But as my base package "A" is in a
> layer that is used by other developers, I would like to enforce somehow
> that every image containing this package also provides a config package
> for it.

you can use bitbake diagnostics in a image post process function to implement this logic
or in a bbclass which is inherited by every image you build.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160402/e9a12e0c/attachment.pgp>


More information about the yocto mailing list