diff options
author | brian avery <brian.avery@intel.com> | 2017-02-07 12:36:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:08:15 -0800 |
commit | f43d97af9466580c3a10d766791836b42c674497 (patch) | |
tree | 64700043c73eadc974ad5ac25ed4336190527440 /bitbake | |
parent | 3b7ab16bf8bbfa0e38fa35a31142853eb8d6f760 (diff) | |
download | poky-f43d97af9466580c3a10d766791836b42c674497.tar.gz |
bitbake: 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]
(Bitbake rev: 2c48168a86309c0cf2be793e7409a78ba21fca14)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index aec9dbb925..1fd649c080 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
@@ -38,8 +38,7 @@ ADMINS = ( | |||
38 | 38 | ||
39 | MANAGERS = ADMINS | 39 | MANAGERS = ADMINS |
40 | 40 | ||
41 | TOASTER_SQLITE_DEFAULT_DIR = os.path.join(os.environ.get('TOASTER_DIR', ''), | 41 | TOASTER_SQLITE_DEFAULT_DIR = os.environ.get('TOASTER_DIR') |
42 | 'build') | ||
43 | 42 | ||
44 | DATABASES = { | 43 | DATABASES = { |
45 | 'default': { | 44 | 'default': { |