[bitbake-devel] [PATCH 35/38] toaster: export BBBASEDIR variable
Michael Wood
michael.g.wood at intel.com
Wed Apr 6 16:46:45 UTC 2016
From: Ed Bartosh <ed.bartosh at linux.intel.com>
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>
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
bin/toaster | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/toaster b/bin/toaster
index dfaff2e..70c66d2 100755
--- a/bin/toaster
+++ b/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 bitbake-devel
mailing list