diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-25 19:39:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:38:32 +0000 |
commit | c01cc6ff241b4a808af8773970a9abe27ae4093e (patch) | |
tree | 1a68b2bcc413c115df6fcfcfbf8ee48058747cbf /meta/lib/oeqa | |
parent | 3d585a518c7e7490486f31633d61377081ec0155 (diff) | |
download | poky-c01cc6ff241b4a808af8773970a9abe27ae4093e.tar.gz |
wic: change location of .env files
Current location of .env files $STAGING_DIR/imagedata. It doesn't
depend on machine and be rewritten by the builds for different
machines.
Changed location to $STAGING_DIR/$MACHINE/imagedata to avoid .env
files to be rewritten.
(From OE-Core rev: 94245144f5cef344d90bc2a7b3267cdae9d192e4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 0a78659bb1..9784a6818e 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -347,7 +347,8 @@ class Wic(oeSelfTest): | |||
347 | if image not in self.wicenv_cache: | 347 | if image not in self.wicenv_cache: |
348 | self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status) | 348 | self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status) |
349 | stdir = get_bb_var('STAGING_DIR', image) | 349 | stdir = get_bb_var('STAGING_DIR', image) |
350 | self.wicenv_cache[image] = os.path.join(stdir, 'imgdata') | 350 | machine = get_bb_var('MACHINE', image) |
351 | self.wicenv_cache[image] = os.path.join(stdir, machine, 'imgdata') | ||
351 | return self.wicenv_cache[image] | 352 | return self.wicenv_cache[image] |
352 | 353 | ||
353 | @testcase(1347) | 354 | @testcase(1347) |