diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-02 12:57:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-26 09:27:31 +0100 |
commit | 0b2e6442a6da8d05649530365601f49d37cb6ab5 (patch) | |
tree | a05a29556ae671ee0dd68b77cc952a2370f1dde9 /bitbake/lib/toaster/bldcontrol/bbcontroller.py | |
parent | aad93dd3b78781e0a170345a5cf5ad59557e4170 (diff) | |
download | poky-0b2e6442a6da8d05649530365601f49d37cb6ab5.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/bbcontroller.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/bbcontroller.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py index 42675d3fc6..9dd01e0deb 100644 --- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py +++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py | |||
@@ -190,6 +190,9 @@ class BuildEnvironmentController(object): | |||
190 | """ | 190 | """ |
191 | raise Exception("Must override BE release") | 191 | raise Exception("Must override BE release") |
192 | 192 | ||
193 | def triggerBuild(self, bitbake, layers, variables, targets): | ||
194 | raise Exception("Must override BE release") | ||
195 | |||
193 | class ShellCmdException(Exception): | 196 | class ShellCmdException(Exception): |
194 | pass | 197 | pass |
195 | 198 | ||