summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
authorLiming An <limingx.l.an@intel.com>2012-08-02 19:06:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 17:05:06 +0100
commit94e2a104ece703d8fa6046ea0fcf9a51ae1930e3 (patch)
tree33845eb0bc89d506e8e451a93f720f483a4a8993 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py
parent5d952ba4a00f14f005706e3c70a98f5f8cf6ab0f (diff)
downloadpoky-94e2a104ece703d8fa6046ea0fcf9a51ae1930e3.tar.gz
bitbake: Hob: log for Hob and allow users to show logs after successful build
If users build images in Hob, record logs and allow users to retrieve the lo after successful build. The logs are generated if and only if: - users do "just bake" - users do "build image" after "build packages" - users do "build packages" only [YOCTO #1991] (Bitbake rev: 291289787bb042b99f0599babc2d67c220aadb87) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index a00fcd8eda..540dde0951 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -390,6 +390,9 @@ class HobHandler(gobject.GObject):
390 def reset_build(self): 390 def reset_build(self):
391 self.build.reset() 391 self.build.reset()
392 392
393 def get_logfile(self):
394 return self.server.runCommand(["getVariable", "BB_CONSOLELOG"])
395
393 def _remove_redundant(self, string): 396 def _remove_redundant(self, string):
394 ret = [] 397 ret = []
395 for i in string.split(): 398 for i in string.split():