]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
Rework how the devshell functions
authorChris Larson <chris_larson@mentor.com>
Tue, 29 Mar 2011 19:53:19 +0000 (12:53 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 18 May 2011 16:55:58 +0000 (09:55 -0700)
commit96e4df5d0b4e27e40a2a6b5d7db2631b9c203010
tree682d112618a738f29885a73038abac9d4968083b
parent95c1c690d14f493b615eafeb349d57aa67366b5d
Rework how the devshell functions

In the new implementation, each known terminal is defined as a class in
oe.terminal, as a subclass of bb.process.Popen. It obeys the OE_TERMINAL
variable, which is a 'choice' typed variable. This variable may be 'auto',
'none', or any of the names of the defined terminals.

When using 'auto', or requesting an unsupported terminal, we attempt to spawn
them in priority order until we get one that's available on this system (and
in the case of the X terminals, has DISPLAY defined).  The 'none' value is
used when we're doing things like automated builds, and want to ensure that no
terminal is *ever* spawned, under any circumstances.

Current available terminals:

    gnome
    konsole
    xterm
    rxvt
    screen

Signed-off-by: Chris Larson <chris_larson@mentor.com>
meta/classes/devshell.bbclass
meta/conf/bitbake.conf
meta/lib/oe/classutils.py
meta/lib/oe/terminal.py [new file with mode: 0644]