On 02/04/2015 16:17, "Christopher Larson" <[email protected]> wrote:
> >On Thu, Apr 2, 2015 at 6:08 AM, Barros Pena, Belen ><[email protected]> wrote: > >A couple of weeks ago I ran an informal round of usability testing with >the new Toaster build functionality. One of the major issues that surfaced >was how difficult it is to identify the image recipes you can build, in >between the massive list of recipes coming from the OpenEmbedded metadata >index. It is important that the image recipes are easy to spot because >those are likely to be the first point of interest for Toaster users. > >The problem, as far as my understanding goes, is that there is no way in >the OpenEmbedded metadata to tell those apart from other recipes. We could >try and filter image recipes based on the image name (they often contain >the string '-image-'), but that would not be completely accurate. > >My question is: would it be possible to introduce a variable to identify >image recipes, I don't know, something like IMAGE_RECIPE = '1' or 'yes' >(just a wild example), that could be included in recipe files to tell >image recipes apart from standard software recipes, and that we could use >in Toaster to filter the recipe list? Is it worth proposing this to >OpenEmbedded, or there is no chance we'll get something like this through? > > > > > >I highly doubt anyone would be a fan of this, though admittedly it'd have >little impact on recipe writers, as you could shove it into the image >class rather than the recipes themselves. That said, I haven't read >toaster's code, yet, but if it actually parses > the recipes rather than just examining the files, you can check to see >if they inherit the image class. So there is a way to tell them apart :) Thanks! I'll check with the development team to see what can be done. Cheers Belén >-- >Christopher Larson >clarson at kergoth dot com >Founder - BitBake, OpenEmbedded, OpenZaurus >Maintainer - Tslib >Senior Software Engineer, Mentor Graphics > > -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
