summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-26 13:37:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-29 19:44:01 +0100
commiteeb0529e138fa95db8fc6ed74bcaee87804fcb6c (patch)
tree45353a0b77672a788682066b6300b5ee5c457595 /bitbake/bin
parent5b84c902ebbd0b034c6f328eb44054e2f92556d3 (diff)
downloadpoky-eeb0529e138fa95db8fc6ed74bcaee87804fcb6c.tar.gz
ui/knotty: Add a footer to the build output for interactive terminals as knotty2 UI
On terminals which support it, add summary information to the end of the build output about the number of tasks currently running and how many tasks we've run so far. This provides a summary at a glace of what the current state of the build is and what the build is currently doing which is lacking in the current UI. Also disable echo of characters on stdin since this corrupts the disable, particularly Crtl+C. The "waiting for X tasks" code can be merged into this code too since that is only useful on interactive terminals and this improves the readability of that output too. Improvements since v0: * The tasks are ordered in execution order. * The display is only updated when the list of tasks changes or there is output above the footer. * Running task x oy y and package messages are supressed from the console This UI can be accessed with "bitbake -u knotty2". (From Poky rev: e38b4569648f2916c4370871c79e6a6090eb8bc1) (Bitbake rev: 156189c799d2bb1f69bdaa04b5cd718fe7881425) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index c06d4e8176..a90f6c6fd1 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -69,7 +69,7 @@ def get_ui(config):
69 return getattr(module, interface).main 69 return getattr(module, interface).main
70 except AttributeError: 70 except AttributeError:
71 sys.exit("FATAL: Invalid user interface '%s' specified.\n" 71 sys.exit("FATAL: Invalid user interface '%s' specified.\n"
72 "Valid interfaces: depexp, goggle, ncurses, knotty [default]." % interface) 72 "Valid interfaces: depexp, goggle, ncurses, hob, knotty [default], knotty2." % interface)
73 73
74 74
75# Display bitbake/OE warnings via the BitBake.Warnings logger, ignoring others""" 75# Display bitbake/OE warnings via the BitBake.Warnings logger, ignoring others"""