summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-02-02 12:13:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-02 12:34:53 +0000
commit2237c9fcaab289c68a92306602f92ca31313e533 (patch)
treeeb5dab57e1c886f6a15c3a872b7638853432690d /bitbake/bin
parentafe85485fe185b663a1285b5c27de3160bf06cf7 (diff)
downloadpoky-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/bin')
-rwxr-xr-xbitbake/bin/toaster5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 4f25293e73..85a2575a66 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -175,6 +175,11 @@ if [ -z "$ZSH_NAME" ] && [ `basename \"$0\"` = `basename \"$BASH_SOURCE\"` ]; th
175 exit 1; 175 exit 1;
176 fi 176 fi
177 177
178 if [ "x`which daemon`" == "x" ]; then
179 echo -e "Failed dependency; toaster needs the 'daemon' program in order to be able to start builds'. Please install the 'daemon' program." 1>&2;
180 exit 1;
181 fi
182
178 # Define a fake builddir where only the pid files are actually created. No real builds will take place here. 183 # Define a fake builddir where only the pid files are actually created. No real builds will take place here.
179 BUILDDIR=/tmp 184 BUILDDIR=/tmp
180 RUNNING=1 185 RUNNING=1