Bug 2303

Summary: Fail to add meta-yocto layer in hob and poky tree
Product: [Build System, Metadata & Runtime] Hob Reporter: Hongna Xu <hongnax.xu>
Component: hobAssignee: Dongxiao Xu <dongxiao.xu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dongxiao.xu, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, shane.wang
Version: 1.2   
Target Milestone: 1.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: Patch submitted (1.2)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
Add meta-yocto layer none

Description Hongna Xu 2012-04-16 07:29:35 UTC
Created attachment 475 [details]
Add meta-yocto layer

We can reproduce it in hob or commander line.
Hob steps:
1.Launch Hob,Settings->Build environment->Select distro=defaultsetup->Save.
2.Hob main window,Layers->delete meta-yocto layer,click OK.
3.Then add the meta-yocto layer,Layers->Add Layer,click OK.
4.I got the error as attachment.
Commander line steps:
1.git clone poky tree and source oe-init-build-env.
2.modify the conf/local.conf file, invalid DISTRO ?= "poky" in the line 102.
3.modify conf/bblayers.conf, delete meta-yocto layer.
4.bitbake any image, such as core-image-minimal, no need to finish it, when it parsing we can stop it.
5.Then modify conf/bblayers.conf to add meta-yocto layer.
6.bitbake any image, such as core-image-minimal, i got the same error info as attachment.
Comment 2 Hongna Xu 2012-04-17 08:36:21 UTC
Good job Dongxiao, verify it with the lastest branch poky/master commit
c936fca6e163bc19bc08cbd0036b31ca6f6c3ed6.