Set environment variable DATABASE_URL in bitbake/bit/toaster Variable value is obtained by running 'manage.py get-dburl'
[YOCTO #8279] Signed-off-by: Ed Bartosh <[email protected]> --- bitbake/bin/toaster | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 0cb3c7c..7093aa7 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -321,6 +321,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 --remote-server=$BBSERVER -t xmlrpc >>${BUILDDIR}/toaster_ui.log 2>&1 \ & echo $! >${BUILDDIR}/.toasterui.pid -- 2.1.4 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
