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:29 +0000 |
commit | 3570a8cf94354c8ab07513c304ebae33623fea33 (patch) | |
tree | 795275bcf2c81c21c1a1c65489438beed0910e28 /lib/bb/ui/toasterui.py | |
parent | 0e675547166acc8650498e153bd3482420342c32 (diff) | |
download | bitbake-3570a8cf94354c8ab07513c304ebae33623fea33.tar.gz |
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>
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/toasterui.py')
-rw-r--r-- | lib/bb/ui/toasterui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py index 9808f6bc8..b1b3684a8 100644 --- a/lib/bb/ui/toasterui.py +++ b/lib/bb/ui/toasterui.py @@ -168,6 +168,9 @@ def main(server, eventHandler, params): logger.warning("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see image details.") build_history_enabled = False + if not "buildstats" in inheritlist.split(" "): + logger.warning("buildstats is not enabled. Please enable INHERIT += \"buildstats\" to generate build statistics.") + if not params.observe_only: params.updateFromServer(server) params.updateToServer(server, os.environ.copy()) |