summaryrefslogtreecommitdiff
path: root/classes/devshell.bbclass
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-07-15 11:00:27 -0700
committerChris Larson <clarson@mvista.com>2009-08-19 14:54:28 -0700
commit6b86d4060be13734848bcda7bc52760765baeafe (patch)
tree6a4a3d15c6822158c1658a1b7a180a66b3538132 /classes/devshell.bbclass
parente20e2ebb2a22138227b1420e625b8df8593c51b9 (diff)
devshell.bbclass: set a default for XAUTHORITY and export DBUS_SESSION_BUS_ADDRESS.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes/devshell.bbclass')
-rw-r--r--classes/devshell.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/devshell.bbclass b/classes/devshell.bbclass
index 2944dbbfc2..9327b55d0a 100644
--- a/classes/devshell.bbclass
+++ b/classes/devshell.bbclass
@@ -4,7 +4,8 @@ do_devshell[dirs] = "${S}"
do_devshell[nostamp] = "1"
export DISPLAY
-export XAUTHORITY
+export DBUS_SESSION_BUS_ADDRESS
+export XAUTHORITY ?= "${HOME}/.Xauthority"
devshell_do_devshell() {
export TERMWINDOWTITLE="Bitbake Developer Shell"