diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-02 12:57:03 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-25 11:08:25 +0100 |
commit | 7ee0f1da0a8fcac37419ffdddbe35a9268a1ded4 (patch) | |
tree | 3325f82353e7bb9453dc5d38433332a963a6a4c2 /lib/toaster/bldcontrol/bbcontroller.py | |
parent | 77d3f7c6cdc7f06807024896369f8f8ae94263fc (diff) | |
download | openembedded-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.py | 3 |
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 |