Bug 1753

Summary: [Hob2] Handle multiple providers for virtual packages
Product: [Build System, Metadata & Runtime] Hob Reporter: Dongxiao Xu <dongxiao.xu>
Component: hobAssignee: Shane Wang <shane.wang>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: jessica.zhang, jiajun.xu, lianhao.lu, poky.bs.watcher, poky.watcher, sgw, song.liu
Version: unspecified   
Target Milestone: 1.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: (P1) (QA Testing Completed) Done
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 1588    

Description Dongxiao Xu 2011-11-07 00:19:52 UTC
How to handle the build dependencies of virtual targets. E.g. many recipes have build dependencies on virtual/libc, and we have both eglibc and uclibc to provide virtual/libc. Eglibc will be the default options but what if the user wants uclibc instead of eglibc. One possible way may be to treat this as part of the configuration PREPERRED_PROVIDER, and have the bitbake backend reparse the recipes based on the new configurations, but this way may take some time due to the reparsing.
Comment 1 Dongxiao Xu 2012-03-14 02:36:30 UTC
This bug is solved by hob patches in master tree.
Users can input "PREFERRED_PROVIDER_xxx" and "VALUE" in advanced setting dialog.
Comment 2 Jiajun Xu 2012-03-15 06:48:36 UTC
I tested latest master with commit 8e9f6fc77ac4763f4ed1f6e7b720420c220ba6e2, the feature could work now.