I've created a new layer, then I bring up hob and add the layer, e.g. /home/jzhang/bsp-out2. Then I ran a build within hob. After that, I've add the layer entry in my conf/bblayer.conf file. Restart hob, I still see the layer listed in the hob. Seems the hob layer config is disconnected with meta data
I am not really sure that I understand the bug report. Jessica, can you please elaborate what is the misbehavior and how Hob should correctly behave? I am also starting my own investigation into this one. Regards, Cristian
Preliminary Time estimate: 4 working days. Preliminary ETA: EOD 28/08/2012.
When Hob first starts, the layers are read from build/.hob/template-default.hob and build/.hob/bblayers-default.conf is populated with the available layers. Each time a layer is added or removed during a session, both files(bblayers-default.conf and template-default.hob) are updated accordingly. Any manual layer addition/deletion should be done in build/.hob/template-default.hob.
Reopened because the implementation is not consistent with documentation: http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#enabling-your-layer. According to the documentation, hob should read the layers from conf/bblayers.conf but the layers are read from build/.hob/template-default.hob. Documentation or implementation should be changed, which is the desired behavior?
Reopened.
If you save explicitly the bblayers conf in HOB, conf/bblayers.conf should be updated as well.
We originally designed to make hob not changig bblayer.conf, but this seems introduce behavior surprises/difficultieis to users. At this stage of 1.3 release, we probaly won't change the behavior as originally designed, release note it. We may re-think over-all layer configuration changes for 1.4
Now Hob is synchronized with bblayers.conf and local.conf( according to #2934). commit f0aef9953d3504e673c8572f1ae64cefdf678b0f
Verified in commit: 7d22ef28e64de06b6238d0ef9b664c0bee6efa46.