On 4/17/2014 2:35 PM, Josep Puigdemont wrote:
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





No, unfortunately not; ptest-pkgs are not sufficient for control of this feature. If you have ptest in DISTRO_FEATURES, the ptests are still being built for your image.

It would be possible to disable the feature from local.conf though, but I would have liked to avoid particularizing this file per image.

Thanks,

Gabriel

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to