summaryrefslogtreecommitdiffstats
path: root/lib/toaster/bldcontrol/bbcontroller.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-02 12:57:03 +0100
committerAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-25 11:08:25 +0100
commit7ee0f1da0a8fcac37419ffdddbe35a9268a1ded4 (patch)
tree3325f82353e7bb9453dc5d38433332a963a6a4c2 /lib/toaster/bldcontrol/bbcontroller.py
parent77d3f7c6cdc7f06807024896369f8f8ae94263fc (diff)
downloadopenembedded-core-contrib-7ee0f1da0a8fcac37419ffdddbe35a9268a1ded4.tar.gz
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/bldcontrol/bbcontroller.py')
-rw-r--r--lib/toaster/bldcontrol/bbcontroller.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/bbcontroller.py b/lib/toaster/bldcontrol/bbcontroller.py
index 42675d3fc6..9dd01e0deb 100644
--- a/lib/toaster/bldcontrol/bbcontroller.py
+++ b/lib/toaster/bldcontrol/bbcontroller.py
@@ -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