bitbake: toaster: create Build methods for calculating progress and ETA
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 27 Aug 2014 16:24:42 +0000 (17:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Aug 2014 12:56:50 +0000 (13:56 +0100)
commit4965f87b7c1d8f403b450e3dd59f54305ece832b
tree9225273bbe4287755db6ae8a3a95e72482348c1e
parentddbf0d25b3f4f00dcab8c6bb6f48e85fe3ed1283
bitbake: toaster: create Build methods for calculating progress and ETA

We move the code to calculate build progress as percent
and the ETA of the build to the model, so that they can be
reused across different pages.

(Bitbake rev: c2ced09e7ea4a1762d2788bb12a761734d20fd8e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/orm/models.py
bitbake/lib/toaster/toastergui/views.py