eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
cover eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
*** BLURB HERE ***
The following changes since commit 6fd870e6a1f61d17e43cf30db4259a939db93820:
bitbake: bb.tests.codeparser: add parameter expansion modifiers test (2019-01-21 23:44:34 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/eSDK-unset
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/eSDK-unset
Chen Qi (1):
eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
meta/lib/oeqa/selftest/cases/eSDK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH 1/1 eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
When executing eSDK test case, the following error appears.
WARNING: attempting to use the extensible SDK in an environment
set up to run bitbake - this may lead to unexpected results. Please source this script in a new shell session instead.
FileExistsError: [Errno 17] File exists: '/.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-fcuyzsqu/tmp/sysroots/x86_64/bin/pigz' -> '/.../tmp/hosttools/pigz'
So unset these two vars to avoid messing things up.
--- meta/lib/oeqa/selftest/cases/eSDK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/eSDK.py +1 -1
@@ -31,7 +31,7 @@ class oeSDKExtSelfTest(OESelftestTestCase): if not 'shell' in options: options['shell'] = True - runCmd("cd %s; . %s; %s" % (tmpdir_eSDKQA, env_eSDK, cmd), **options) + runCmd("cd %s; unset BBPATH; unset BUILDDIR; . %s; %s" % (tmpdir_eSDKQA, env_eSDK, cmd), **options) @staticmethod def generate_eSDK(image):
Signature · 1 line
1.9.1