| Summary: | [HOB] Enable customisation of image drop down | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Joshua Lock - Disabled <josh> |
| Component: | hob | Assignee: | Dongxiao Xu <dongxiao.xu> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Low | CC: | dongxiao.xu, jessica.zhang, jiajun.xu, laurentiu.serban, msm-oss, poky.bs.watcher, poky.watcher, richard.purdie, sgw, shane.wang, song.liu |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | (P1)(Patch In the master) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Joshua Lock - Disabled
2011-10-03 15:04:16 UTC
Could you describe this issue in more detail? or give us a usage case? Thanks! The request came from the community and is really two related feature requests. 1) Is for people shipping Yocto to customers to be able to restrict the available images to only include ones they wish to support. For example to enable a layer but not display any of the images provided in that layer (i.e. blacklist demo-image-*) 2) Is to be able to define extra patterns by which images displayed in the image combo are determined. Currently hob, and hob2, set the 'type' of a recipe to 'image' if it contains the substring "-image-"[1] - the second part of this bug is asking for some mechanism to add to/change the pattern we use to determine whether something is an image. 1. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/bitbake/lib/bb/ui/crumbs2/recipelistmodel.py?h=dxu4/hob2-v0.8-dev#n222 Postpone it to M3 because 2) mentioned by Josh needs more efforts. Transfer to Belen. Belen, can you help to design where we should put the patterns to? In "settings"? Yes, I can help with this, but I will need a bit more information. Joshua: would you have time to arrange a call to walk me through this feature in detail? I'm not convinced this is something we need to expose in the GUI - I'd think as this is a feature aimed at people distributing the GUI it's perfectly OK to expect them to be able to set this configuration in a file somewhere. Belen, I'm happy to discuss this in real-time at your convenience. Hi guys, It looks like the first decision we need to make is if this feature needs to be represented in the Hob UI. Shane: do you agree with Joshua that this could just be a configuration file? Cheers Belen Configuration file is fine to me. I agree this information should come from a configuration file. Updating bug status from NEEDINFO since I think this is relatively well understood now and reassigning to shane since this isn't something Belen needs to look at. Give it to Dongxiao because he has implemented an approach to detect whether a bb file is an image recipe without checking the file name. Verified in 06348fe76474a20e0fc2f2938919f782c3e5ae28 |