]> code.ossystems Code Review - openembedded-core.git/commit
eSDK.py: unset BBPATH and BUILDDIR to avoid eSDK failure
authorChen Qi <Qi.Chen@windriver.com>
Tue, 22 Jan 2019 09:09:50 +0000 (17:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Jan 2019 16:56:34 +0000 (16:56 +0000)
commit748f946ee74f7480200a7eb0bb0b695467b08f0a
treec930afe86d3f07d59009fa5ff16725ddc9ba6ad6
parent6a5cce862f1e950439dc8ee1d84a10397a7fac4f
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.

(From OE-Core rev: bc07d825ce8bb3b337623c232fef61f2781c82af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/selftest/cases/eSDK.py