summaryrefslogtreecommitdiffstats
path: root/recipes-core/images
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2019-02-12 16:20:01 +0100
committerMing Liu <liu.ming50@gmail.com>2019-02-12 17:19:15 +0100
commit27ee48ec353caa5223b7a83c715dbe9757adb1bf (patch)
tree6b04f46757d069d99157921ddc0525510e32cbad /recipes-core/images
parent29c3476c8286649210ab8d731bfa063c76907f3b (diff)
downloadmeta-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-core/images')
0 files changed, 0 insertions, 0 deletions