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:17:37 +0200 |
commit | 8da4dd635cf5284998d1770ddb18d98d2fe5b2dd (patch) | |
tree | 9577860d0e3ca95fa59eab57ed877b69a2c9d51f /scripts/qemucommand.py | |
parent | c9ed994ecd24a13b2177cfd7813490f90b004efb (diff) | |
download | meta-updater-8da4dd635cf5284998d1770ddb18d98d2fe5b2dd.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