Re: PREFERRED_VERSION_pn-: which version is selected?

Martin Jansa

And the variable should be named PREFERRED_VERSION_recipe1 (it's not using pn as an override).

On Mon, Feb 8, 2021 at 12:10 PM Josef Holzmayr <jester@...> wrote:

Am Mo., 8. Feb. 2021 um 11:52 Uhr schrieb Mauro Ziliani <mauro@...>:
> In the image recipe I put
> IMAGE_INSTALL_append := " \
>      recipe1 \
> "
> PREFERRED_VERSION_pn-recipe1 := "0.9"

As usual, recipe data is local, conf data is global. Setting things
that should affect other recipes (like PREFERRED_VERSION) does not
work inside a recipe - and an image recipe is still just a recipe.
This needs to go into the DISTRO config, usually.


Join to automatically receive all group messages.