Layers with multiple versions of the same recipe
Quoted 18 lines · Belen
Quoted 4 lines · Alexandru
Just to note:
* we need to add version numbers to targets suggested, because there is no other way to distinguish two different "bash" targets in the list
Mmm, I see what you mean, but I rather not crowd the suggestions any more than they are, particularly because the case of a layer providing more than one version of the same recipe is not that common. Maybe the suggestions just display the target name once, and build the latest version or whichever version is set as the preferred one. You can select an specific target version from the layer details pages and the all targets pages.
Quoted 2 lines
Quoted 5 lines
Quoted 2 lines
* setting a
PREFFERRED_VERSIONwill change the project configuration page
- not a problem, but we need to indicate this to the user somehowSorry, I am probably missing something obvious, but I am not sure how this changes the project configuration page.
I think the answer is it doesn't, but it does change the configuration variables page. We should probably add PREFERRED_VERSION to that page when we set it.
Also, we should probably tell users when one of their local.conf variables has been overriden. I've opened an issue in Bugzilla for that (targeting 1.9).
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6900
Cheers
Belén
Quoted 57 lines
Cheers
Belén
Quoted 46 lines
- Alex
On Fri, Oct 10, 2014 at 3:57 PM, Barros Pena, Belen <[email protected]> wrote:
I have spoken briefly to Paul about the problem of layers providing more than one version of the same recipe, and how we can ensure that the recipe
version selected by the user gets built. Paul thinks that usingPREFERRED_VERSIONshould work reasonably well, but it will not work always, since we would be settingPREFERRED_VERSIONin local.conf and this
can be overridden by distro configuration.He still thinks setting
PREFERRED_VERSIONis an acceptable solution. He also thinks that we should probably add some functionality at some point to deal with the cases where local configuration is being overridden by distro config. The idea would be that builds encountering such circumstances would throw a warning, and that warning would be collected and displayed by Toaster once the build completes. Because we store variable history in the Toaster database, we should be able to point users
straight to the variable causing the problem. I will open an issue for this in Bugzilla.Thoughts?
Belén
Signature · 4 lines
Alex Damian Yocto Project SSG / OTCSignature · 4 lines
_______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster