Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
@ 2019-01-22  9:09 Chen Qi
  2019-01-22  9:09 ` [PATCH 1/1] " Chen Qi
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2019-01-22  9:09 UTC (permalink / raw)
  To: openembedded-core

*** 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(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
  2019-01-22  9:09 [PATCH 0/1] eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure Chen Qi
@ 2019-01-22  9:09 ` Chen Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2019-01-22  9:09 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/lib/oeqa/selftest/cases/eSDK.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py
index d7aef93..7798706 100644
--- a/meta/lib/oeqa/selftest/cases/eSDK.py
+++ b/meta/lib/oeqa/selftest/cases/eSDK.py
@@ -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):
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-22  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-22  9:09 [PATCH 0/1] eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure Chen Qi
2019-01-22  9:09 ` [PATCH 1/1] " Chen Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox