All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] toaster: Fixes 9252 broken image builds
@ 2017-01-15  3:18 brian avery
  2017-01-15  3:18 ` [PATCH 1/1] toaster: bin/toaster whitelist TOASTER_DIR brian avery
  0 siblings, 1 reply; 2+ messages in thread
From: brian avery @ 2017-01-15  3:18 UTC (permalink / raw)
  To: bitbake-devel; +Cc: brian avery

This fixes the "cannot connect to database" errors in Yocto 9252 that
were preventing toaster from building anything. The tinfoil2 changes
resulted in TOASTER_DIR bring cleared by the server. I added
TOASTER_DIR to the BB_ENV_EXTRAWHITE list so it is preserved.

-brian

The following changes since commit 81021bc0aa0f64e67535f6a9551e921a64fe4395:

  yocto-project-qs, ref-manual: Added note for "resources temporarily unavailable" error (2017-01-11 17:23:18 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib toaster-next
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster-9252

brian avery (1):
  toaster: bin/toaster whitelist TOASTER_DIR

 bin/toaster | 1 +
 1 file changed, 1 insertion(+)

--
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] toaster: bin/toaster whitelist TOASTER_DIR
  2017-01-15  3:18 [PATCH 0/1] toaster: Fixes 9252 broken image builds brian avery
@ 2017-01-15  3:18 ` brian avery
  0 siblings, 0 replies; 2+ messages in thread
From: brian avery @ 2017-01-15  3:18 UTC (permalink / raw)
  To: bitbake-devel; +Cc: brian avery

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@intel.com>
---
 bin/toaster | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/toaster b/bin/toaster
index de38cec..daaf8ea 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
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-15  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-15  3:18 [PATCH 0/1] toaster: Fixes 9252 broken image builds brian avery
2017-01-15  3:18 ` [PATCH 1/1] toaster: bin/toaster whitelist TOASTER_DIR brian avery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.