diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-02-02 12:13:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-02 12:34:53 +0000 |
commit | 2237c9fcaab289c68a92306602f92ca31313e533 (patch) | |
tree | eb5dab57e1c886f6a15c3a872b7638853432690d /bitbake/lib/toaster/bldcontrol/management | |
parent | afe85485fe185b663a1285b5c27de3160bf06cf7 (diff) | |
download | poky-2237c9fcaab289c68a92306602f92ca31313e533.tar.gz |
bitbake: toaster: proper setup for build configuration
This patch makes sure that all the toaster conf files are actually
written from the build enviroment controllers.
Additionally, toaster checks that the 'daemon' program, which is used
to start the build system, is available (currently for localhost).
[YOCTO #7171]
(Bitbake rev: 0a1db7d1531f8254955e1152bcd8e6db4ec1d277)
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/management')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py index 23ee855558..3b539b591a 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py | |||
@@ -56,7 +56,8 @@ class Command(NoArgsCommand): | |||
56 | 56 | ||
57 | # set up the buid environment with the needed layers | 57 | # set up the buid environment with the needed layers |
58 | bec.setLayers(br.brbitbake_set.all(), br.brlayer_set.all()) | 58 | bec.setLayers(br.brbitbake_set.all(), br.brlayer_set.all()) |
59 | bec.writePreConfFile(br.brvariable_set.all()) | 59 | bec.writeConfFile("conf/toaster-pre.conf", br.brvariable_set.all()) |
60 | bec.writeConfFile("conf/toaster.conf", raw = "INHERIT+=\"toaster buildhistory\"") | ||
60 | 61 | ||
61 | # get the bb server running with the build req id and build env id | 62 | # get the bb server running with the build req id and build env id |
62 | bbctrl = bec.getBBController() | 63 | bbctrl = bec.getBBController() |