diff options
author | Mikko Ylinen <mikko.ylinen@intel.com> | 2016-10-19 09:34:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-25 17:47:15 +0100 |
commit | b4929542ff01a24bea5edd1c40e3174f55e213ff (patch) | |
tree | 93cd09d9c500524d9b036778174b125964c70ff5 /scripts/lib/devtool/runqemu.py | |
parent | 7561514454c20a86e9e126af80dcf114ccd23535 (diff) | |
download | openembedded-core-b4929542ff01a24bea5edd1c40e3174f55e213ff.tar.gz openembedded-core-b4929542ff01a24bea5edd1c40e3174f55e213ff.tar.bz2 openembedded-core-b4929542ff01a24bea5edd1c40e3174f55e213ff.zip |
buildstats: check IMAGE_ROOTFS exists before checking its size
After 0d6b7276003f1afabc6de683f663540327d52bdc, the exceptions are
correctly checked if the rootfs size check fails. In case of a
failure a build error is triggered.
However, there are cases where this is known to fail (e.g.,
with meta-swupd the rootfs for swupd images is other than IMAGE_ROOTFS).
Because of that, check IMAGE_ROOTFS exists before trying to get the
size of it. Also, in case of any error catched as err, simply print
out a warning.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions