[Toaster] [PATCH v2 04/15] toaster: set BITBAKE_UI environment variable
Ed Bartosh
ed.bartosh at linux.intel.com
Tue Mar 8 05:53:50 PST 2016
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>
---
bitbake/bin/toaster | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 1e6e690..5cc77ed 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/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 toaster
mailing list