| Summary: | [Hob2] How to handle kernel file selection when running qemu images | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Belen Barros Pena <belen.barros.pena> | ||||
| Component: | hob | Assignee: | anliming <limingx.l.an> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | jessica.zhang, jiajun.xu, limingx.l.an, poky.bs.watcher, poky.watcher, shane.wang | ||||
| Version: | 1.3 | ||||||
| Target Milestone: | 1.3 M3 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Belen Barros Pena
2012-05-21 08:32:09 UTC
I listed current handler and original way for discuss: After building success, we will popup the 'build detail' page with the listed builded files, if selected file is a runable qemu image, it need to select the corresponding kernel to run. current handler: if there has one only kernel file and with same machine configuration, it can be runnable directly, no need to select. original handler: always need to select the kernel by maunually questions concerned: 1)maybe there has a user don't want to use the kernel we provied in our folder, 2)maybe that kernel we had provided is an bad one, so if permit it's runnable directly, then no chance to select a new one for user in code. Give it to Belen to have a look and give a suggestion. Hi Belen, the new patch had be merged to poky/master, which combine the original bug's request I think(#2155 it want to give user an convienice function for clicked this button), please to test and review, thanks! http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0d210ff8e84ee75104f5b3e7a2c4722c87a84875 Created attachment 537 [details]
the image details screen including an option to change the kernel
Hi Liming,
I don't think presenting a file selection dialog after clicking 'Run image' for people to select the kernel is a good idea. Judging from what I saw during the usability testing at OSTS in March, people didn't seem to understand what they needed to select, and often selected a kernel randomly without really knowing what they were doing. Identifying the right kernel for the image they wanted to run seemed difficult, since kernel names and image names are not very human friendly at this point.
What I think we should do is avoiding the kernel selection step altogether, by providing details of which kernel is going to be used for running the image, and giving people the possibility to change if they want to do so. I've attached a mock up that shows how this could be done in the image details screen. I am assuming we know which kernel was generated during the building process, since both image files and kernel file seem to have similar names.
Let me know what you think.
Cheers
Belen
Added a kernel box on image detail page, and be merged to master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e91f1e28bc1742f010225c49410e49b1257c15c7 This is fixed. Thanks! |