On Wed, 26 Jun 2024 at 19:22, Jörg Sommer via lists.openembedded.org
<joerg.sommer=navimatix...@lists.openembedded.org> wrote:
> I've asked myself, if it wouldn't be helpful and convenient, if the ptest
> DISTRO_FEATURE would lead to the inclusion of the ptest-runner and ptest
> packages in the image?
>
> Should poky.conf include something like:
>
> EXTRA_IMAGE_FEATURES += "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " 
> ptest-pkgs", "", d)}"
> IMAGE_INSTALL += "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " 
> ptest-runner", "", d)}

Not in 'the image', this would add them to *all* images, which is not
how ptests distro feature is used. You have ptest in DISTRO_FEATURES
to build and package ptests, but adding them into images is done in
specific ptest image recipes.

Generally distro features should not affect what is installed into
images, they're only for build configuration of components (yes there
are a couple exceptions in poky, which should not have been allowed).

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111113): 
https://lists.openembedded.org/g/openembedded-devel/message/111113
Mute This Topic: https://lists.openembedded.org/mt/106893827/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to