summaryrefslogtreecommitdiffstats
path: root/meta/classes/terminal.bbclass
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2012-05-03 11:27:12 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-06 08:55:46 (GMT)
commit23d149856d6e117cc6308a5beb5c843fcac79842 (patch)
treeffdae5dac10112e8728b7e1c8773b2c9bb495a38 /meta/classes/terminal.bbclass
parent7b078123b78805b5f973b453a07808cdcfa0ae36 (diff)
downloadpoky-23d149856d6e117cc6308a5beb5c843fcac79842.tar.gz
terminal.bbclass, oe-buildenv-internal: pass SCREENDIR environment variable
Some versions of the screen utility provided from the host OS vendor write the socket directory to $HOME/.screen. When using a shared home directory across many servers, one sets the SCREENDIR environment variable to avoid collisions in the shared home directory. This results in problems launching a devshell where it is not entirely obvious what happened because the SCREENDIR environment variable got stripped from the environment prior to setting up the screen in detached mode. Example: % bitbake -c devshell busybox # ...Please connect in another terminal with "screen -r devshell" % screen -r devshell There is no screen to be resumed matching devshell. The temporary work around was to do something like: sh -c "unset SCREENDIR; screen -r devshell" This patch adds SCREENDIR to the white list to ensure screen works properly on systems where a developer needs to use the SCREENDIR with shared home directories. (From OE-Core rev: 5568a8f5a1c65bae021b2e36d735d3153acc6d72) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/terminal.bbclass')
-rw-r--r--meta/classes/terminal.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass
index ca28bd2..3cfc84b 100644
--- a/meta/classes/terminal.bbclass
+++ b/meta/classes/terminal.bbclass
@@ -4,7 +4,7 @@ OE_TERMINAL[choices] = 'auto none \
4 ${@" ".join(o.name \ 4 ${@" ".join(o.name \
5 for o in oe.terminal.prioritized())}' 5 for o in oe.terminal.prioritized())}'
6 6
7OE_TERMINAL_EXPORTS = 'XAUTHORITY SHELL DBUS_SESSION_BUS_ADDRESS DISPLAY EXTRA_OEMAKE' 7OE_TERMINAL_EXPORTS = 'XAUTHORITY SHELL DBUS_SESSION_BUS_ADDRESS DISPLAY EXTRA_OEMAKE SCREENDIR'
8OE_TERMINAL_EXPORTS[type] = 'list' 8OE_TERMINAL_EXPORTS[type] = 'list'
9 9
10XAUTHORITY ?= "${HOME}/.Xauthority" 10XAUTHORITY ?= "${HOME}/.Xauthority"