Bug 11164 - yocto-compat-layer: Add support to isolate the environment
Summary: yocto-compat-layer: Add support to isolate the environment
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Aníbal Limón
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-15 17:42 UTC by Aníbal Limón
Modified: 2017-04-06 19:02 UTC (History)
4 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 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