summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:07 +0000
commitcac91db01dc2f233ba0ff8f068be909dc8715066 (patch)
tree23bbdea7733af2695d41e7f1846d66a16bc75a9d /bitbake/bin
parenta464bf23b4a52a5d784a390080fe2e4da7d2ad7a (diff)
downloadpoky-cac91db01dc2f233ba0ff8f068be909dc8715066.tar.gz
bitbake: toaster: set DATABASE_URL in toaster script
Set environment variable DATABASE_URL in bitbake/bit/toaster Variable value is obtained by running 'manage.py get-dburl' (Bitbake rev: ac4800cc8b765b270f27ea9a5938f3f2a2e0ced4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index fbda8dc9f4..2397319916 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -300,6 +300,7 @@ case $CMD in
300 echo "Bitbake server start failed" 300 echo "Bitbake server start failed"
301 else 301 else
302 export BBSERVER=0.0.0.0:-1 302 export BBSERVER=0.0.0.0:-1
303 export DATABASE_URL=`$BBBASEDIR/lib/toaster/manage.py get-dburl`
303 if [ $NOTOASTERUI -eq 0 ]; then # we start the TOASTERUI only if not inhibited 304 if [ $NOTOASTERUI -eq 0 ]; then # we start the TOASTERUI only if not inhibited
304 bitbake --observe-only -u toasterui >>${BUILDDIR}/toaster_ui.log 2>&1 & echo $! >${BUILDDIR}/.toasterui.pid 305 bitbake --observe-only -u toasterui >>${BUILDDIR}/toaster_ui.log 2>&1 & echo $! >${BUILDDIR}/.toasterui.pid
305 fi 306 fi