[OE-core] How to add a distro feature from an image recipe?

Josep Puigdemont josep.puigdemont at enea.com
Thu Apr 17 11:35:54 UTC 2014


On Thu, Apr 17, 2014 at 11:27:16AM +0000, Gabriel Barbu wrote:
> Hi,
> 
>  
> 
> Is there a specific mechanism to add a distro feature from an image recipe?
> 
> DISTRO_FEATURES_append does not seem to work from an image-*.bb or from a
> packagegroup-*.bb.
>  
> 
> Or, if not, what would be the best way to achieve this?
> 
> The need is that I have a number of images and only want to add a certain
> distro feature (ptest) to just one or two of them (some test images).

Couldn't that be achieved by just adding "ptest-pkgs" to IMAGE_FEATURES in the
image recipe? or "ptest-pkgs" to EXTRA_IMAGE_FEATURES in your local.conf?

/Josep

> 
>  
> 
> Thanks,
> 
>  
> 
> Gabriel
> 
>  
> 




More information about the Openembedded-core mailing list