* [PATCH 0/1] selftest/eSDK.py: fix sstate dir not found error
@ 2017-01-05 5:03 Chen Qi
2017-01-05 5:03 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2017-01-05 5:03 UTC (permalink / raw)
To: openembedded-core
The following changes since commit dbb247cac5fbf7b037e4955f9793828451723924:
bitbake: cookerdata: Convert multiconfig to use BB_CURRENT_MC (2016-12-22 12:36:40 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/eSDK-sstate_dir
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/eSDK-sstate_dir
Chen Qi (1):
selftest/eSDK.py: fix sstate dir not found error
meta/lib/oeqa/selftest/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] selftest/eSDK.py: fix sstate dir not found error
2017-01-05 5:03 [PATCH 0/1] selftest/eSDK.py: fix sstate dir not found error Chen Qi
@ 2017-01-05 5:03 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2017-01-05 5:03 UTC (permalink / raw)
To: openembedded-core
Fix the error below when SSTATE_DIR is not "${BUILDDIR}/sstate-cache".
FileNotFoundError: [Errno 2] No such file or directory: '/xxx/../sstate-cache'
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/lib/oeqa/selftest/eSDK.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/eSDK.py b/meta/lib/oeqa/selftest/eSDK.py
index 9d5c680..b43a452 100644
--- a/meta/lib/oeqa/selftest/eSDK.py
+++ b/meta/lib/oeqa/selftest/eSDK.py
@@ -55,7 +55,7 @@ class oeSDKExtSelfTest(oeSelfTest):
@classmethod
def setUpClass(cls):
# Start to serve sstate dir
- sstate_dir = os.path.join(os.environ['BUILDDIR'], 'sstate-cache')
+ sstate_dir = get_bb_var('SSTATE_DIR')
cls.http_service = HTTPService(sstate_dir)
cls.http_service.start()
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-05 5:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05 5:03 [PATCH 0/1] selftest/eSDK.py: fix sstate dir not found error Chen Qi
2017-01-05 5:03 ` [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