From 2420953b3d03551d8254609300ca572717aecdcd Mon Sep 17 00:00:00 2001 From: brian avery Date: Sat, 14 Jan 2017 19:18:32 -0800 Subject: 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 Signed-off-by: Richard Purdie --- bin/toaster | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/toaster') diff --git a/bin/toaster b/bin/toaster index de38cece0..daaf8eaac 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 -- cgit 1.2.3-korg