summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-04-06 17:46:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-06 23:10:27 +0100
commit94ac3f0ed048d3bf031d942f2fcd5745aaed2cc5 (patch)
treea904815d35d94ada44a59d47b86e2ac838584bd1 /bitbake/bin
parente23a23b35b5f61d8401f74644089937a089d5ec9 (diff)
downloadpoky-94ac3f0ed048d3bf031d942f2fcd5745aaed2cc5.tar.gz
bitbake: 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. (Bitbake rev: 9ad6393d30cb6196cf7c9a5adcf33febd724d294) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 1e6e6905e4..5cc77edb33 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -100,6 +100,7 @@ stop_system()
100 unset DATABASE_URL 100 unset DATABASE_URL
101 unset TOASTER_CONF 101 unset TOASTER_CONF
102 unset TOASTER_DIR 102 unset TOASTER_DIR
103 unset BITBAKE_UI
103 trap - SIGHUP 104 trap - SIGHUP
104 #trap - SIGCHLD 105 #trap - SIGCHLD
105 INSTOPSYSTEM=0 106 INSTOPSYSTEM=0
@@ -259,6 +260,7 @@ case $CMD in
259 echo "Failed ${CMD}." 260 echo "Failed ${CMD}."
260 return 4 261 return 4
261 fi 262 fi
263 export BITBAKE_UI='toasterui'
262 export DATABASE_URL=`$MANAGE get-dburl` 264 export DATABASE_URL=`$MANAGE get-dburl`
263 $MANAGE runbuilds & echo $! >${BUILDDIR}/.runbuilds.pid 265 $MANAGE runbuilds & echo $! >${BUILDDIR}/.runbuilds.pid
264 # set fail safe stop system on terminal exit 266 # set fail safe stop system on terminal exit