mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
3d585a518c
commit
c01cc6ff24
@@ -347,7 +347,8 @@ class Wic(oeSelfTest):
|
||||
if image not in self.wicenv_cache:
|
||||
self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status)
|
||||
stdir = get_bb_var('STAGING_DIR', image)
|
||||
self.wicenv_cache[image] = os.path.join(stdir, 'imgdata')
|
||||
machine = get_bb_var('MACHINE', image)
|
||||
self.wicenv_cache[image] = os.path.join(stdir, machine, 'imgdata')
|
||||
return self.wicenv_cache[image]
|
||||
|
||||
@testcase(1347)
|
||||
|
||||
Reference in New Issue
Block a user