[oe-commits] [bitbake] 01/03: toaster: bin/toaster whitelist TOASTER_DIR

git at git.openembedded.org git at git.openembedded.org
Thu Jan 4 18:05:39 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch 1.32
in repository bitbake.

commit 30da2715cd6a114faf99b09c74e73c5d84767b91
Author: brian avery <brian.avery at intel.com>
AuthorDate: Sat Jan 14 19:18:32 2017 -0800

    toaster: bin/toaster whitelist TOASTER_DIR
    
    Some of the tinfoil2 changes resulted in TOASTER_DIR being cleared by
    the memory resident bitbake server toaster starts up.  This prevented
    toaster from being able to connect to its sqlite database. Adding
    TOASTER_DIR to the BB_ENV_EXTRAWHITE list stops the cooker from clearing
    out the TOASTER_DIR variable.
    
    [YOCTO #9252]
    
    Signed-off-by: brian avery <brian.avery at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 bin/toaster | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/toaster b/bin/toaster
index f92d38e..f3fcf04 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -158,6 +158,7 @@ unset OE_ROOT
 # 4) pid's we need to clean up on exit/shutdown
 # note: for future. in order to make this an arbitrary directory, we need to
 # make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does.
+export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
 export TOASTER_DIR=`pwd`
 
 WEBSERVER=1

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


More information about the Openembedded-commits mailing list