From 6cfb76fa8bd1c192e6a0524b7670e2172e5d8e26 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 15 Jul 2014 12:35:43 +0100 Subject: bitbake: toaster: add fields for sourcedir and builddir paths We add explicit absolute paths for a directory where the layer sources will be checked out (sourcedir) and where the build activities will take place. Adding minimal checking when starting the application in order to make sure that BuildEnvironment (BE) settings are usable. This check is ran by the toaster script at startup. Modify the localhost bbcontroller to use the BE settings instead of trying to self-configure on checked out sources. (Bitbake rev: d17500d3f73fdeeef5f11fb3773a65e927be3f02) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/bin') diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 90cd982876..1f90362b1f 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -64,6 +64,7 @@ function webserverStartAll() python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=1 fi python $BBBASEDIR/lib/toaster/manage.py migrate bldcontrol || retval=1 + python $BBBASEDIR/lib/toaster/manage.py checksettings || retval=1 if [ $retval -eq 0 ]; then python $BBBASEDIR/lib/toaster/manage.py runserver 0.0.0.0:8000 ${BUILDDIR}/toaster_web.log 2>&1 & echo $! >${BUILDDIR}/.toastermain.pid -- cgit v1.2.3-54-g00ecf