summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2016-07-12 16:50:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 14:13:29 +0000
commit1c8acea91e775b1b6f8b25e774aaba3e790fc59b (patch)
tree6dfb65e067b9407f89b9bfce969ac72d1faed554 /meta
parentb3ed3a79852f85651c8fa192a8118f9904e88ef8 (diff)
downloadopenembedded-core-1c8acea91e775b1b6f8b25e774aaba3e790fc59b.tar.gz
openembedded-core-1c8acea91e775b1b6f8b25e774aaba3e790fc59b.tar.bz2
openembedded-core-1c8acea91e775b1b6f8b25e774aaba3e790fc59b.zip
wic: Look for image artifacts in a common location
Rather than have each image type look for artifacts in image-specific locations, move towards having them look for artifacts in a common location, in this case DEPLOY_DIR_IMAGE Use the existing deploy.bbclass to have the bootloaders put their binaries in DEPLOY_DIR_IMAGE and then wic will find them and place them in the image Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/wic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index ebbb280163..da68e25213 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -372,8 +372,8 @@ class Wic(oeSelfTest):
wicvars = set(get_bb_var('WICVARS', image).split())
# filter out optional variables
- wicvars = wicvars.difference(('IMAGE_BOOT_FILES', 'INITRD',
- 'INITRD_LIVE', 'ISODIR'))
+ wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES',
+ 'INITRD', 'INITRD_LIVE', 'ISODIR'))
with open(path) as envfile:
content = dict(line.split("=", 1) for line in envfile)
# test if variables used by wic present in the .env file