|author||brian avery <firstname.lastname@example.org>||2017-01-14 19:18:32 -0800|
|committer||Richard Purdie <email@example.com>||2017-01-17 13:18:43 +0000|
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 <firstname.lastname@example.org> Signed-off-by: Richard Purdie <email@example.com>
Diffstat (limited to 'bin')
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/toaster b/bin/toaster
index de38cece05..daaf8eaac8 100755
@@ -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"