Bug 3746 - yocto-kernel tool fails to find layer when using BBLAYERS += in bblayers.conf
Summary: yocto-kernel tool fails to find layer when using BBLAYERS += in bblayers.conf
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-17 14:14 UTC by Stefan Stanacar
Modified: 2013-10-07 13:32 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Stanacar 2013-01-17 14:14:11 UTC
When using a bblayers.conf like the one below, yocto-kernel won't find my bsp layer. Building a image works just fine.

LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/stefans/yocto/poky/meta \
  /home/stefans/yocto/poky/meta-yocto \
  /home/stefans/yocto/poky/meta-yocto-bsp \
  "
BBLAYERS_NON_REMOVABLE ?= " \
  /home/stefans/yocto/poky/meta \
  /home/stefans/yocto/poky/meta-yocto \
  "

BBLAYERS += "/home/stefans/yocto/builds/yotta/meta-myqemu"


# yocto-kernel config list myqemu
Unable to find the BSP layer for machine myqemu.
Please make sure it is listed in bblayers.conf


Removing the last line and adding the layer like this

BBLAYERS ?= " \
  /home/stefans/yocto/poky/meta \
  /home/stefans/yocto/poky/meta-yocto \
  /home/stefans/yocto/poky/meta-yocto-bsp \
  /home/stefans/yocto/builds/yotta/meta-myqemu \
  "

solves the problem.
Comment 1 Darren Hart 2013-01-17 15:51:28 UTC
yocto-kernel does do it's own parsing unfortunately, but for good reason. Thanks for reporting.
Comment 2 Tom Zanussi 2013-07-10 14:13:36 UTC
Fix posted to poky mailing list.
Comment 3 Tom Zanussi 2013-07-16 14:51:05 UTC
Fixed in poky/master:74e403705e25afec656b5e40921771a9c29bdc40
Comment 4 Stefan Stanacar 2013-10-07 13:32:39 UTC
Verified in master:3c5b6af99110bd7f64f5240a3e9d156f0593c497