[bitbake-devel] [PATCH 03/38] toaster: set BITBAKE_UI environment variable

Michael Wood michael.g.wood at intel.com
Wed Apr 6 16:46:13 UTC 2016


From: Ed Bartosh <ed.bartosh at linux.intel.com>

Set BITBAKE_UI variable to 'toastergui' for command line builds
to use toasterui as a default ui module for bitbake.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 bin/toaster | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/toaster b/bin/toaster
index 1e6e690..5cc77ed 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -100,6 +100,7 @@ stop_system()
     unset DATABASE_URL
     unset TOASTER_CONF
     unset TOASTER_DIR
+    unset BITBAKE_UI
     trap - SIGHUP
     #trap - SIGCHLD
     INSTOPSYSTEM=0
@@ -259,6 +260,7 @@ case $CMD in
             echo "Failed ${CMD}."
             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
-- 
2.1.4




More information about the bitbake-devel mailing list