summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dosfstools
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2018-09-05 22:26:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:15:04 +0100
commit61428c05bb5e76aa1f93259174a1b477bd278dc1 (patch)
tree67be4e99303a5c89b6f0c2e7e9b01be4c70c2234 /meta/recipes-devtools/dosfstools
parent90a9b1b0f5cd558eedaac373c770379ee50e5f05 (diff)
downloadpoky-61428c05bb5e76aa1f93259174a1b477bd278dc1.tar.gz
bitbake: toaster/widgets.py: avoid divide by zero issues
There can be cases where the variables being used to divide in build percentage expressions can be zero. For example, a setup consisting of only local repos will have repos_to_clone=0 and will generate a divide by zero scenario. Fix this by checking the divisor in such cases. [YOCTO #12891] (Bitbake rev: 30702f29928c3b088f199bf8b1609b2956f8c47a) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dosfstools')
0 files changed, 0 insertions, 0 deletions