diff options
author | brian avery <brian.avery@intel.com> | 2017-01-14 19:18:32 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-04 18:05:06 +0000 |
commit | 221f067e557440345f1228b86d8675ae93b8f9b6 (patch) | |
tree | b48d5d76484b2ed5cda765204ebe23146b6b2817 /bitbake/bin/toaster | |
parent | e3ff03599e55fd2abcaa33e29779c388cdbed94e (diff) | |
download | poky-221f067e557440345f1228b86d8675ae93b8f9b6.tar.gz |
bitbake: 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]
(Bitbake rev: 30da2715cd6a114faf99b09c74e73c5d84767b91)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-x | bitbake/bin/toaster | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index f92d38ecab..f3fcf04c37 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -158,6 +158,7 @@ unset OE_ROOT | |||
158 | # 4) pid's we need to clean up on exit/shutdown | 158 | # 4) pid's we need to clean up on exit/shutdown |
159 | # note: for future. in order to make this an arbitrary directory, we need to | 159 | # note: for future. in order to make this an arbitrary directory, we need to |
160 | # make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does. | 160 | # make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does. |
161 | export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR" | ||
161 | export TOASTER_DIR=`pwd` | 162 | export TOASTER_DIR=`pwd` |
162 | 163 | ||
163 | WEBSERVER=1 | 164 | WEBSERVER=1 |