| Summary: | Impossible to add a new image type in Toaster | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Belen Barros Pena <belen.barros.pena> | ||||||||
| Component: | toaster | Assignee: | Sujith H <sujith.h> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | Libertad <libertad.gonzalez.de.la.cruz> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | Medium+ | CC: | alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, david.reyna, jessica.zhang, jose.perez.carranza, joshuagloe, julien.gueytat | ||||||||
| Version: | 1.8 | ||||||||||
| Target Milestone: | 2.2 M2 | ||||||||||
| Hardware: | x86 | ||||||||||
| OS: | Multiple | ||||||||||
| Whiteboard: | GUI design available | ||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||||
| Attachments: |
|
||||||||||
|
Description
Belen Barros Pena
2015-05-29 16:21:03 UTC
It sounds like in this case we need to provide a free form text field. The current list just comes from http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/image_types.bbclass copied in to lib/toaster/toastergui/views.py:2552 (it's actually slightly out of date) mmm, I don't think that list should be hardcoded in views.py. Shouldn't it come from toasterconf.json, like the MACHINE or the DISTRO? Also, this needs designing. Created attachment 2728 [details]
Design - Adding image types
This was set to needinfo, but I think I've answered the question (I think) Created attachment 2857 [details]
Design - Adding image types
Created attachment 2901 [details]
Design - Adding image types
So, version 3 of this. Hopefully this is the good one.
The design that was implemented had some problems. New design available, and I'm afraid some changes required, so reopening. Apologies to the bug assignee for the mess. We tried a number of different designs and implementations so this work was started again hence milestone bump http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c81d03e8a30d9ac62e7162794b41f7e0c21e0a61 is the commit which is merged upstream for this task. Hence marking this task as Resolved-Fixed. |