| Summary: | [Build Appliance] Create image with X and Pygtk support | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Edwin Zhai <edwin.zhai> | ||||
| Component: | meta-yocto | Assignee: | Edwin Zhai <edwin.zhai> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | Low | CC: | dexuan.cui, jiajun.xu, poky.bs.watcher, poky.watcher, sgw, shane.wang, song.liu | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.2 M2 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | (P1) (QA Testing Completed)(Done) | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Edwin Zhai
2011-11-04 03:50:04 UTC
(In reply to comment #0) > Integrate hob in L1 target's build > > we need do: > 1. achieve minimal X system and required LIB to start terminal > 2. add pygtk and integrate hob Edwin has implemented this and is rebasing the patch. Edwin, please update the Status field. 1. mini X I created a batch of applications called "x11-mini", which can be included as IMAGE_FEATURE. And also a miniX session file is also created to start minimal environment: Xorg + matchbox-terminal. Another issue is we need run appls on behalf of normal user instead of root. One possible solution is rootless X, which depends on KMS that required physical DRI, so only physical atompc support it, while qemu/vmware doesn't(chmod u+s /usr/bin/xinit can hack, but may introduce security hole). I use another option: ask the normal user put some script into /etc/minix/session.d/, then mini X session will check and run them on behalf of script owner. It works well. 2. hob integration There is no issue here, since X and pygtk already there. Just start hob inside bitbake directory works perfect. One minor issue is the components in the hob main window has minimal width limitation, so that the whole window can't be decreased. We can use attached patch to remove such limitation, or change the resolution of emulated monitor in qemu/vmware. Patch is out for review. Created attachment 292 [details]
remove minimal width limitation of hob main window
I tested HOB in build appliance against 1.2 M2. It could work well. Patch in. |