From cff19351a8b9d6267177dc548d994e3f28590391 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 26 Jun 2014 15:21:42 +0100 Subject: bitbake: toaster: add project pages We add the new project and project page skeletons. In the process, we add an identifier in the settings.py to detect whenever Toaster is running in managed mode, and a context processor to make this value available to the template processor. (Bitbake rev: 927a27c68e24cfe13f62ca5f0e60878b04fa4e24) 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 01ffc7a37c..90cd982876 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -139,6 +139,7 @@ if [ -z "$ZSH_NAME" ] && [ `basename \"$0\"` = `basename \"$BASH_SOURCE\"` ]; th webserverKillAll RUNNING=0 } + export TOASTER_MANAGED=1 webserverStartAll || (echo "Fail to start the web server, stopping" 1>&2 && exit 1) xdg-open http://0.0.0.0:8000/ >/dev/null 2>&1 & trap trap_ctrlc SIGINT -- cgit v1.2.3-54-g00ecf