summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/selftest/wic.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-16 22:53:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:03:51 +0000
commit3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c (patch)
tree7541a624ec2cd37a8d66f614ecfaf340e02a6396 /meta/lib/oeqa/selftest/wic.py
parent3443ff47374c7e20ea54e838609b991f3f72810e (diff)
downloadopenembedded-core-3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c.tar.gz
openembedded-core-3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c.tar.bz2
openembedded-core-3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c.zip
image.bbclass: put .env files to ${STAGING_DIR}/imgdata/
As STAGING_DIR_TARGET started to point to a recipe specific sysroot wic is not able to add .env files when .wks file refers to multiple rootfs recipes. Used STAGING_DIR instead of STAGING_DIR_TARGET to make the directory with .env files the same for all recipes. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/selftest/wic.py')
-rw-r--r--meta/lib/oeqa/selftest/wic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 77f1bdcfa9..6a61ba6868 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -332,7 +332,7 @@ class Wic(oeSelfTest):
"""Generate and obtain the path to <image>.env"""
if image not in self.wicenv_cache:
self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status)
- stdir = get_bb_var('STAGING_DIR_TARGET', image)
+ stdir = get_bb_var('STAGING_DIR', image)
self.wicenv_cache[image] = os.path.join(stdir, 'imgdata')
return self.wicenv_cache[image]