From 2237c9fcaab289c68a92306602f92ca31313e533 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 2 Feb 2015 12:13:58 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bitbake/bin') 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 exit 1; fi + if [ "x`which daemon`" == "x" ]; then + echo -e "Failed dependency; toaster needs the 'daemon' program in order to be able to start builds'. Please install the 'daemon' program." 1>&2; + exit 1; + fi + # Define a fake builddir where only the pid files are actually created. No real builds will take place here. BUILDDIR=/tmp RUNNING=1 -- cgit v1.2.3-54-g00ecf