diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-02-12 16:20:01 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-04-29 09:13:33 +0200 |
commit | d243aa82d742c06cdd8af72ce11ff3480090d9a2 (patch) | |
tree | 6b8b511d1484a7a1aace59626719e134a57652c7 /scripts/qemucommand.py | |
parent | c3710023f08b98d9d8207b2246d33ce2f4bd06c2 (diff) | |
download | meta-updater-d243aa82d742c06cdd8af72ce11ff3480090d9a2.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 'scripts/qemucommand.py')
0 files changed, 0 insertions, 0 deletions