toaster: Fixes 9252 broken image builds
cover toaster: Fixes 9252 broken image builds
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
PATCH 1/1 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]
--- bin/toaster | 1 + 1 file changed, 1 insertion(+)
bin/toaster +1 -0
@@ -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
Signature · 1 line
1.9.1