[oe-commits] [bitbake] 03/45: toaster: set BITBAKE_UI environment variable
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 6 22:11:21 UTC 2016
rpurdie pushed a commit to branch master
in repository bitbake.
commit 9ad6393d30cb6196cf7c9a5adcf33febd724d294
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Wed Apr 6 17:46:13 2016 +0100
toaster: set BITBAKE_UI environment variable
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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list