Bug 11164

Summary: yocto-compat-layer: Add support to isolate the environment
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Aníbal Limón <anibal.limon>
Component: meta-yoctoAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: patrick.ohly, poky.bs.watcher, poky.watcher, richard.purdie
Version: 2.4   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Aníbal Limón 2017-03-15 17:42:16 UTC
Currently the script works on the poky/oe-core clone environment, this could cause problem when this environment is pre-modified for example when layers are added or configuration changes.

To avoid a this kind of problems the script needs to setup an environment, clone bitbake/oe-core and source the new environment to work on it.
Comment 1 Patrick Ohly 2017-03-15 18:13:43 UTC
When making such changes, try to keep in mind that developers probably will have to analyze test failures. Having some option of easily changing into the exact environment in which something failed would be useful.
Comment 2 Aníbal Limón 2017-03-29 21:41:30 UTC
I created a wrapper to clone bitbake and oe-core for make script runs,

http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134884.html