[oe-commits] [bitbake] 02/03: toaster: move sqlite database to TOASTER_DIR
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 4 18:05:40 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch 1.32
in repository bitbake.
commit 32b13d52ae37be343962cc1cf504f3d569fb1153
Author: brian avery <brian.avery at intel.com>
AuthorDate: Tue Feb 7 12:36:12 2017 -0800
toaster: move sqlite database to TOASTER_DIR
The toaster.sqlite database was located in TOASTER_DIR/build. This
meant that if you named your build directory something else (like cow),
Toaster would fail to make/find the database. TOASTER_DIR is on the
whitelist unlike BUILDDIR and we need to be able to write there anyway
given our current layout so this should not disrupt anything.
[YOCTO #9992]
Signed-off-by: brian avery <brian.avery at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/toaster/toastermain/settings.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/toaster/toastermain/settings.py b/lib/toaster/toastermain/settings.py
index aec9dbb..1fd649c 100644
--- a/lib/toaster/toastermain/settings.py
+++ b/lib/toaster/toastermain/settings.py
@@ -38,8 +38,7 @@ ADMINS = (
MANAGERS = ADMINS
-TOASTER_SQLITE_DEFAULT_DIR = os.path.join(os.environ.get('TOASTER_DIR', ''),
- 'build')
+TOASTER_SQLITE_DEFAULT_DIR = os.environ.get('TOASTER_DIR')
DATABASES = {
'default': {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list