* [PATCH 1/1] utility-tasks.bbclass: show do_listtasks's output to console
@ 2010-11-26 2:14 Kevin Tian
0 siblings, 0 replies; only message in thread
From: Kevin Tian @ 2010-11-26 2:14 UTC (permalink / raw)
To: poky
Use bb.msg.note to have output to console directly, or else it will be recorded
in the WORKDIR logfile instead. Previously it worked because we didn't log
python tasks
Fix [BUGID #548], [BUGID #361]
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
---
meta/classes/utility-tasks.bbclass | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass
index 205a206..b922a7f 100644
--- a/meta/classes/utility-tasks.bbclass
+++ b/meta/classes/utility-tasks.bbclass
@@ -5,9 +5,11 @@ python do_listtasks() {
# emit variables and shell functions
#bb.data.emit_env(sys.__stdout__, d)
# emit the metadata which isnt valid shell
+ msg = ""
for e in d.keys():
if bb.data.getVarFlag(e, 'task', d):
- sys.__stdout__.write("%s\n" % e)
+ msg += "%s\n" % e
+ bb.msg.note(1, bb.msg.domain.Cache, "available task list:\n%s" % msg)
}
CLEANFUNCS ?= ""
--
1.6.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-26 2:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 2:14 [PATCH 1/1] utility-tasks.bbclass: show do_listtasks's output to console Kevin Tian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox