diff options
author | Elliot Smith <elliot.smith@intel.com> | 2015-10-14 15:43:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-16 14:13:22 +0100 |
commit | 1feeb8e4991dc2f2a2b85b4b544ad36e96dc4a0b (patch) | |
tree | 79ee018a41946b86433c7891fc139ceb62e67210 /scripts/contrib/test_build_time.sh | |
parent | ae82d778e67dc35a9a2a54d9893b0ae5f00bb197 (diff) | |
download | poky-1feeb8e4991dc2f2a2b85b4b544ad36e96dc4a0b.tar.gz |
bitbake: toaster: Always run bldcontrol migrations
The toaster startup script conditionally migrates the database
tables depending on whether you are in managed mode or not. This
means that if you are in analysis mode, some of the bldcontrol*
database tables used by managed mode are not available.
As a consequence, some of the code in toaster which refers to
those tables can break in analysis mode, as there's no clean
isolation of the two modes.
To prevent this from happening, always run the migrations for
managed mode and create the bldcontrol* tables, even if in
analysis mode.
Also clean up the function which starts up toaster so the
logic is easier to follow.
[YOCTO #8277]
(Bitbake rev: b1fc592131286ebbede2693be8c86636f0039011)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/test_build_time.sh')
0 files changed, 0 insertions, 0 deletions