Skip to content

Add ability to auto spawn screen on a controlling terminal

Jason Wessel bitbake-devel 1 version Applied

Status from this message: Merged to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4progress.py: Fix traceback when running goggle uilib/bb/ui/crumbs/progress.py+3 -00 replies
2/4event.py, knotty.py, ncurses.py, runningbuild.py: Add support for LogExecTTY eventlib/bb/event.py lib/bb/ui/crumbs/runningbuild.py lib/bb/ui/knotty.py +1 more+45 -00 replies
3/4terminal: pass data store all the way through to terminal classmeta/classes/terminal.bbclass meta/lib/oe/terminal.py+13 -130 replies
4/4terminal: Send LogExecTTY event to spawn screenmeta/lib/oe/terminal.py+8 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Add ability to auto spawn screen on a controlling terminal

This is a series of 4 patches, 2 for bitbake and 2 for oe-core. On the bitbake side the idea is to have a new type of event which can exec a command or print a log message if there is no controlling terminal available.

When a controlling terminal is available the knotty UI can directly execute the command on the controlling terminal, instead of printing something, which occurs in all the other UI's. What is really nice about this is that you don't have to spawn screen in separate terminals when you only want to use a single terminal to a build server.

--

 lib/bb/event.py                  |    9 +++++++++
 lib/bb/ui/crumbs/progress.py     |    3 +++
 lib/bb/ui/crumbs/runningbuild.py |   15 +++++++++++++++
 lib/bb/ui/knotty.py              |   19 +++++++++++++++++++
 lib/bb/ui/ncurses.py             |    2 ++
 meta/classes/terminal.bbclass    |    4 ++--
 meta/lib/oe/terminal.py          |   33 +++++++++++++++++++--------------
 7 files changed, 69 insertions(+), 16 deletions(-)