[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4046/8267] bitbake: toaster: bin/toaster whitelist TOASTER_DIR
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4046/8267] bitbake: toaster: bin/toaster whitelist TOASTER_DIR
- Date: Sun, 17 Dec 2017 01:29:12 +0000 (UTC)
commit 63f899a950daf1018999455bafa7a2be8b22f164
Author: brian avery <brian avery intel com>
Date: Sat Jan 14 19:18:32 2017 -0800
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: 2420953b3d03551d8254609300ca572717aecdcd)
Signed-off-by: brian avery <brian avery intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
bitbake/bin/toaster | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index de38cec..daaf8ea 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]