From db843070554fe9bd518103ab922284b510ead7b5 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Thu, 19 May 2016 13:59:28 +0100 Subject: bitbake: toaster: Remove DATABASE_URL being passed around as an environment var We don't need to pass the DATABASE_URL around and read it back if we setup the django framework in the correct way. We make the default sqlite database path a full path so that the database isn't being assumed to be in CWD. Also add some more useful comments on the database settings. This is preparation work to migrate the build tests and be able to trigger builds on differently configured databases. (Bitbake rev: 973c740404ca6a09feea250d3433075995067fe0) Signed-off-by: Michael Wood Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitbake/bin') diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 921164c47e..05b7935ddb 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -100,7 +100,6 @@ stop_system() fi webserverKillAll # unset exported variables - unset DATABASE_URL unset TOASTER_CONF unset TOASTER_DIR unset BITBAKE_UI @@ -278,7 +277,6 @@ case $CMD in return 4 fi export BITBAKE_UI='toasterui' - export DATABASE_URL=`$MANAGE get-dburl` $MANAGE runbuilds & echo $! >${BUILDDIR}/.runbuilds.pid # set fail safe stop system on terminal exit trap stop_system SIGHUP -- cgit v1.2.3-54-g00ecf