Thanks all for suggestions ed corrections
toggle quoted messageShow quoted text
Il 08/02/21 12:14, Quentin Schulz ha scritto:
On Mon, Feb 08, 2021 at 11:52:33AM +0100, Mauro Ziliani wrote:
Hi all.Yocto chant #1: Recipe data is local, conf data is global.
I'm working with Krogoth on imx6
I have the same recipe with different versions
In the image recipe I put
IMAGE_INSTALL_append := " \
PREFERRED_VERSION_pn-recipe1 := "0.9"
In other words, you cannot modify other recipes from one recipe.
Since image recipes are recipes, your PREFERRED_VERSION ni your image
recipe is effectively a no-op.
On a side note, := operator is rarely seen outside of
FILESEXTRAPATHS_prepend in bbappend, try to keep it this way.
If I doIn a configuration file: local.conf, distro.conf, machine.conf.
If I do
in image-recipe.manifest I look
Why is not selected the preferred version?
How can I choose the recipe's version I'd like?
Though, it is heavily discouraged to use local.conf for anything except
debugging sessions, as it is meant only for **local** configuration and
isn't supposed to be versioned.