diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-02-12 16:20:01 +0100 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2019-02-12 17:19:15 +0100 |
commit | 27ee48ec353caa5223b7a83c715dbe9757adb1bf (patch) | |
tree | 6b04f46757d069d99157921ddc0525510e32cbad /recipes-sota | |
parent | 29c3476c8286649210ab8d731bfa063c76907f3b (diff) | |
download | meta-updater-27ee48ec353caa5223b7a83c715dbe9757adb1bf.tar.gz |
wic:plugins:otaimage.py: fix a potential issue
do_image_wic task is a standalone task that depending on
do_image_ota_ext4, so it's possible that do_image_wic runs
(taskhash contaminated) but do_image_ota_ext4 does not (taskhash not
contaminated), in which case, the otaimage would be in DEPLOY_DIR_IMAGE
instead of in IMGDEPLOYDIR, so we need check both of them.
Also, the logger.error is not supposed to raise a error, it just
prints out a error message, so we should use WicError.
And another typo is it checks IMGDEPLOYDIR but reports DEPLOY_DIR_IMAGE
not exist, also fix that.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'recipes-sota')
0 files changed, 0 insertions, 0 deletions