]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
build, toaster: record proper task type
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Fri, 1 Nov 2013 15:58:31 +0000 (15:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Nov 2013 17:59:09 +0000 (17:59 +0000)
commit6648c57e6d369fc009ea3a9fe939def5d2c67bf5
treefe3dab00c1ef6f6e290610aaaac4744d018bddc2
parent7636aba37320aaf9b044d3832ddc21af51ccd69c
build, toaster: record proper task type

Bitbake tasks may be of type 'python' or 'shell',
or they may not be executed at all, which is record
as task type 'noexec'.

In order to record proper task type, this patch:

* creates no exec task type as the default value in
the toaster model definition

* adds full task flags to the bb.build.TaskStarted event
in build.py

* if the task actually starts, the toaster ui will
record the type of the task as either 'python' or 'shell'
based on the task flags.

[YOCTO #5073]
[YOCTO #5075]
[YOCTO #5327]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/build.py
lib/bb/ui/buildinfohelper.py
lib/toaster/orm/models.py