[Toaster] [PATCH 03/20] toaster: set DATABASE_URL in toaster script
Ed Bartosh
ed.bartosh at linux.intel.com
Sun Oct 11 14:15:40 PDT 2015
Set environment variable DATABASE_URL in bitbake/bit/toaster
Variable value is obtained by running 'manage.py get-dburl'
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
bin/toaster | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/toaster b/bin/toaster
index abe539d..0991030 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -286,6 +286,7 @@ case $CMD in
echo "Bitbake server start failed"
else
export BBSERVER=0.0.0.0:-1
+ export DATABASE_URL=`$BBBASEDIR/lib/toaster/manage.py get-dburl`
if [ $NOTOASTERUI -eq 0 ]; then # we start the TOASTERUI only if not inhibited
bitbake --observe-only -u toasterui >>${BUILDDIR}/toaster_ui.log 2>&1 & echo $! >${BUILDDIR}/.toasterui.pid
fi
--
2.1.4
More information about the toaster
mailing list