toaster.bbclass: read build stats
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 27 Nov 2013 16:21:00 +0000 (16:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Dec 2013 11:16:10 +0000 (11:16 +0000)
commit00fb4f019bceefdf4cfe6af0c6c85f1dda870dda
tree446dd41355dee30e3978f0cebdcb47bd1764767d
parente3b40675aedbf3c948c81ecbbc15eef19d65078a
toaster.bbclass: read build stats

In the process of removing the local system
accesses from toaster UI (which must be able to
run remotely), the code to read build stats
is moved from Bitbake Toaster UI
to the server-side toaster.bbclass

The code will accumulate a list of stat files
to be read at build completion. When the
build completes, the whole data list is read and
sent through in a single event.

    [YOCTO #5604]

(From OE-Core rev: 0c455c0708335eecd1e659680b6cddb4782e80fa)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toaster.bbclass