diff options
author | Olaf Mandel <o.mandel@menlosystems.com> | 2016-10-28 14:04:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-04 12:50:56 +0000 |
commit | 0038120f057ab77aaac7a9c7712b4ec04507809d (patch) | |
tree | 0639c5d2e6e25551c86958c640fe4f104451a3df /bitbake/lib/bb/ui/toasterui.py | |
parent | b8cabc7ed378c1b34666216ce39d7165f226053f (diff) | |
download | poky-0038120f057ab77aaac7a9c7712b4ec04507809d.tar.gz |
bitbake: toasterui.py: warn if buildstats is missing
Like for buildhistory, warn if buildstats is missing from INHERIT.
CC: Joshua Lock <joshua.g.lock@linux.intel.com>
(Bitbake rev: 3570a8cf94354c8ab07513c304ebae33623fea33)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 9808f6bc8f..b1b3684a82 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -168,6 +168,9 @@ def main(server, eventHandler, params): | |||
168 | logger.warning("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see image details.") | 168 | logger.warning("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see image details.") |
169 | build_history_enabled = False | 169 | build_history_enabled = False |
170 | 170 | ||
171 | if not "buildstats" in inheritlist.split(" "): | ||
172 | logger.warning("buildstats is not enabled. Please enable INHERIT += \"buildstats\" to generate build statistics.") | ||
173 | |||
171 | if not params.observe_only: | 174 | if not params.observe_only: |
172 | params.updateFromServer(server) | 175 | params.updateFromServer(server) |
173 | params.updateToServer(server, os.environ.copy()) | 176 | params.updateToServer(server, os.environ.copy()) |