Bug 2649 - [Hob2] Hob reorders layers internally
Summary: [Hob2] Hob reorders layers internally
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard: (patch review)
Depends on:
Blocks:
 
Reported: 2012-06-22 11:13 UTC by Paul Eggleton
Modified: 2012-10-09 13:11 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2012-06-22 11:13:14 UTC
If I add the meta-intel then meta-cedartrail layers within hob, I get the following parse error when I click OK:

ERROR: Unable to parse /home/paul/poky/meta-intel/meta-cedartrail/conf/layer.conf: Failure expanding variable BBPATH, expression was ${BBPATH}:/home/paul/poky/meta-intel which triggered exception Exception: variable BBPATH references itself!

From this and some experiments with "bitbake -p" after adding and reordering entries in bblayers.conf I was able to determine that this was because hob is reordering the list of layers internally; perhaps a dict is being used with the layer path as the key, although I haven't looked at the code. In any case, the order should at the very least not be different to the order in which the layers are shown within the layer dialog in hob; ideally it should remain the same as the order in which the user added them.
Comment 2 Alexandru Georgescu 2012-10-09 13:11:02 UTC
verified