[Toaster] [PATCH v8 39/45] toaster: export BBBASEDIR variable
Ed Bartosh
ed.bartosh at linux.intel.com
Mon Apr 4 00:27:10 PDT 2016
This variable will be used in localhost controller code
to determine correct bitbake location, so it has to be
exported.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
bitbake/bin/toaster | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index dfaff2e..70c66d2 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -101,6 +101,7 @@ stop_system()
unset TOASTER_CONF
unset TOASTER_DIR
unset BITBAKE_UI
+ unset BBBASEDIR
trap - SIGHUP
#trap - SIGCHLD
INSTOPSYSTEM=0
@@ -131,7 +132,7 @@ else
TOASTER=$0
fi
-BBBASEDIR=`dirname $TOASTER`/..
+export BBBASEDIR=`dirname $TOASTER`/..
MANAGE=$BBBASEDIR/lib/toaster/manage.py
OEROOT=`dirname $TOASTER`/../..
--
2.1.4
More information about the toaster
mailing list