Bug 8316

Summary: devtool: workspace layer added multiple times
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Markus Lehtonen <markus.lehtonen>
Component: devtools / tool chainAssignee: Markus Lehtonen <markus.lehtonen>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Markus Lehtonen 2015-09-17 09:33:13 UTC
The workspace layer gets added multiple times into bblayers.conf if it has multiple assignments for BBLAYERS.

E.g. 
--SNIP-------------------------------------------------------
BBLAYERS ?= " \
  /home/marquiz/yocto/openembedded-core/meta \
  "
BBLAYERS += "/home/marquiz/yocto/openembedded-core/meta-intel"
--SNIP-------------------------------------------------------

is turned into:
--SNIP-------------------------------------------------------
BBLAYERS ?= " \
  /home/marquiz/yocto/openembedded-core/meta \
  /home/marquiz/yocto/openembedded-core/build/workspace \
  "

BBLAYERS += " \
  /home/marquiz/yocto/openembedded-core/meta-intel \
  /home/marquiz/yocto/openembedded-core/build/workspace \
  "
--SNIP-------------------------------------------------------
Comment 1 Markus Lehtonen 2015-09-30 14:02:38 UTC
Fix merged into bitbake:
http://git.openembedded.org/bitbake/commit/?id=5e423237f9f4ff7e7e03bf066b0142ba4bd82219
Comment 2 Bogdan Alexandru Voiculescu 2015-11-17 13:51:29 UTC
verified on master: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1