1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

bitbake: toaster: improve the buildenvironment API

We improve the buildenvironment API by reducing it to a single
command: triggerBuild.

This command is specifically implemented in each BE controller
type, so the runbuilds management command is only concerned
with scheduling the next build, and not with the details
of how a build is actually started.

(Bitbake rev: 7ee0f1da0a8fcac37419ffdddbe35a9268a1ded4)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexandru DAMIAN
2015-06-02 12:57:03 +01:00
committed by Richard Purdie
parent aad93dd3b7
commit 0b2e6442a6
4 changed files with 53 additions and 23 deletions
@@ -190,6 +190,9 @@ class BuildEnvironmentController(object):
"""
raise Exception("Must override BE release")
def triggerBuild(self, bitbake, layers, variables, targets):
raise Exception("Must override BE release")
class ShellCmdException(Exception):
pass