[oe-commits] [bitbake] 35/45: toaster: export BBBASEDIR variable

git at git.openembedded.org git at git.openembedded.org
Wed Apr 6 22:11:53 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

commit 429d47325aadb74d476e5b7f4738f2dfe26cde95
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Wed Apr 6 17:46:45 2016 +0100

    toaster: export BBBASEDIR variable
    
    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>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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`/../..
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list