Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Peter Marko via lists.yoctoproject.org
> I am installing multiple version of the package and I have an update recipe > based on swupdate that will have these versions listed in a file so that I > can ONLY trigger updates based on some logics that are linked to these > versions. You can create this file with package version in your r

Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Alexander Kanavin
On Mon, 4 Nov 2024 at 20:53, Sid-Ali via Lists.Yoctoproject.Org wrote: > Yes you are absolutely right, I would need the variable that contains list of > the versions (in my example: VAR = "1.1 1.2 1.3") for the installed packages > and not for the included recipes. > If I understood correctly, y

Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Sid-Ali
> > But adding a recipe to a layer will not add it to any image. You still > need to place it explicitly in a list somewhere. > Yes you are absolutely right, I would need the variable that contains list of the versions (in my example: VAR = "1.1 1.2 1.3") for the installed packages and not for

Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Matthias Proske
Hi, perhaps you can explain a bit more what you really want to achieve. You wrote you want to have it in a global variable, but to what purpose: Do you need to use it one recipe? My guess is that you don't know how many versions of pkg-* you have (three in your example) and you maybe want to do

Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Alexander Kanavin
But adding a recipe to a layer will not add it to any image. You still need to place it explicitly in a list somewhere. Alex On Mon 4. Nov 2024 at 19.05, Sid-Ali via Lists.Yoctoproject.Org wrote: > This would not be dynamic, I wanted to do that during parsing time so that > even if I add anothe

Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Sid-Ali
This would not be dynamic, I wanted to do that during parsing time so that even if I add another recipe, I would have the variable updated automatically without the need to re-define it -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64212): https:

Re: [yocto] Set global variable based on recipes versions

2024-11-04 Thread Alexander Kanavin
Presumably you list these somewhere in an image recipe (so that they're installed) - this could be moved into a variable in your distro definition where it would be global? Alex On Mon, 4 Nov 2024 at 17:35, Sid-Ali via lists.yoctoproject.org wrote: > > Hello > > I am struggling with a simple cas