| Summary: | [yocto-kernel] fail to find bblayers if TOPDIR is not "build" | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | meta-yocto | Assignee: | Tom Zanussi <tom.zanussi> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dvhart, hongnax.xu, jessica.zhang, lianhao.lu, poky.bs.watcher, poky.watcher, scott.a.garman |
| Version: | unspecified | ||
| Target Milestone: | 1.2.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Tom has the patch been applied? please update This does not have the workaround I thought it did. After having read the patch, I'm going to propose this be pulled in for 1.2.1. Changing the target now. The patch to fix this is available as: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=tzanussi/yocto-bsp-fixes-2219-2330&id=3cea3e5b38f503cb2ac22bedf88e1ba14391c2ab Verify the bug as fixed with commit b1867950831ab6edb00b819f4cde81d40007f22e. |
tree/branch: poky/1.2 M4 commit: da6233ea034f35eff59306fdad31f318c340c359 With 1.2 M4, when I test Hob, I find that yocto-kernel could not find bblayers if the TOPDIR is not "./build". It's hardcode in scripts/lib/bsp/kernel.py with following code: ####### def find_bblayers(scripts_path): """ Find and return a sanitized list of the layers found in BBLAYERS. """ bblayers_conf = os.path.join(scripts_path, "../build/conf/bblayers.conf") layers = [] f = open(bblayers_conf, "r") lines = f.readlines() bblayers_lines = [] #######