summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-07-15 12:35:43 +0100
committerAlexandru DAMIAN <alexandru.damian@intel.com>2014-07-23 17:52:16 +0100
commitd17500d3f73fdeeef5f11fb3773a65e927be3f02 (patch)
tree2ea3f1cee072aa65bb003e11309131fd590bb1f3 /bin
parent1cd369883469747a8158826bb8d67dcca2a8577f (diff)
downloadbitbake-contrib-d17500d3f73fdeeef5f11fb3773a65e927be3f02.tar.gz
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/toaster1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/toaster b/bin/toaster
index 90cd98287..1f90362b1 100755
--- a/bin/toaster
+++ b/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 </dev/null >${BUILDDIR}/toaster_web.log 2>&1 & echo $! >${BUILDDIR}/.toastermain.pid