diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-07-12 16:50:03 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:38:32 +0000 |
commit | 66d08e0fdad5deb0d5228a0fadb1a1ef5d0142cc (patch) | |
tree | 0cf212338616759660db5c025e1bf81f3c6056cb /meta/lib | |
parent | 62310b3726cbbbd34da74f90e7de92ad831aa297 (diff) | |
download | poky-66d08e0fdad5deb0d5228a0fadb1a1ef5d0142cc.tar.gz |
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
(From OE-Core rev: 1c8acea91e775b1b6f8b25e774aaba3e790fc59b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 4 |
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): | |||
372 | 372 | ||
373 | wicvars = set(get_bb_var('WICVARS', image).split()) | 373 | wicvars = set(get_bb_var('WICVARS', image).split()) |
374 | # filter out optional variables | 374 | # filter out optional variables |
375 | wicvars = wicvars.difference(('IMAGE_BOOT_FILES', 'INITRD', | 375 | wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES', |
376 | 'INITRD_LIVE', 'ISODIR')) | 376 | 'INITRD', 'INITRD_LIVE', 'ISODIR')) |
377 | with open(path) as envfile: | 377 | with open(path) as envfile: |
378 | content = dict(line.split("=", 1) for line in envfile) | 378 | content = dict(line.split("=", 1) for line in envfile) |
379 | # test if variables used by wic present in the .env file | 379 | # test if variables used by wic present in the .env file |