Bug 1788

Summary: [Hob2] Build pseudo-native within Hob
Product: [Build System, Metadata & Runtime] Hob Reporter: Dongxiao Xu <dongxiao.xu>
Component: hobAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: jessica.zhang, jiajun.xu, lianhao.lu, poky.bs.watcher, poky.watcher, sgw, shane.wang
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dongxiao Xu 2011-11-28 01:29:38 UTC
Currently if we run hob in a newly sourced build directory, bitbake will execute "bitbake pseudo-native" firstly and then launch the hob. This behavior is not friendly to user since he needs to wait a long time before he can see the GUI. It is better if we can also build pseudo-native within hob.

The difficult point is, pseudo is to wrapper bitbake command to run do_package task with "faked" root. Therefore we need to make bitbake have some "restarting" mechanism, that is, exit the original bitbake server, and launch a new bitbake process with pseudo wrapperred.
Comment 1 Shane Wang 2011-12-28 18:42:44 UTC
We are doing POC to implement bitbake restart. But this can't be completed in M2 because we have many other things to do including implementing new GUI.

So suggest to postpone it to M3.
Comment 2 Shane Wang 2012-03-16 03:11:52 UTC
Lianhao, can you take a look at this problem and investigate its possibility with POC?
Comment 3 Richard Purdie 2013-06-20 21:13:28 UTC
With the removal of the double execution of bitbake for pseudo-native, this problem doesn't exist any more.