[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3202/8267] bitbake: toasterui.py: warn if buildstats is missing
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3202/8267] bitbake: toasterui.py: warn if buildstats is missing
- Date: Sun, 17 Dec 2017 00:18:08 +0000 (UTC)
commit 0038120f057ab77aaac7a9c7712b4ec04507809d
Author: Olaf Mandel <o mandel menlosystems com>
Date: Fri Oct 28 14:04:10 2016 +0000
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>
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 9808f6b..b1b3684 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/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())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]