diff options
author | Aníbal Limón <limon.anibal@gmail.com> | 2016-02-21 12:31:50 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:32:40 +0000 |
commit | 4ae0c84568f39661722cbceba8ddab22cffe5003 (patch) | |
tree | 5605fe2f832248ef4665de82acdd647efe09f502 /meta/classes/testsdk.bbclass | |
parent | a25aef2bdefae54c8b3eb2bd4afec5a86110ddc7 (diff) | |
download | openembedded-core-4ae0c84568f39661722cbceba8ddab22cffe5003.tar.gz openembedded-core-4ae0c84568f39661722cbceba8ddab22cffe5003.tar.bz2 openembedded-core-4ae0c84568f39661722cbceba8ddab22cffe5003.zip |
classes/testsdk: Move the removal of bitbake PATH to eSDK context only
The removal of bitbake and scripts PATH is only needed by eSDK tests
so move to eSDK context only.
This also it's a support for eSDK update test because it needs to
execute oe-publish-sdk from scripts.
Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/testsdk.bbclass')
-rw-r--r-- | meta/classes/testsdk.bbclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index 41e03d6e06..157077e18e 100644 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk.bbclass @@ -96,11 +96,10 @@ def testsdkext_main(d): # extensible sdk use network export_proxies(d) - # extensible sdk shows a warning if found bitbake in the path - # because can cause problems so clean it - paths_to_avoid = ['bitbake/bin', 'poky/scripts', - d.getVar('STAGING_DIR', True), - d.getVar('BASE_WORKDIR', True)] + # extensible sdk can be contaminated if native programs are + # in PATH, i.e. use perl-native instead of eSDK one. + paths_to_avoid = [d.getVar('STAGING_DIR', True), + d.getVar('BASE_WORKDIR', True)] os.environ['PATH'] = avoid_paths_in_environ(paths_to_avoid) pn = d.getVar("PN", True) |