diff options
-rw-r--r-- | meta/classes/devshell.bbclass | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index d08056bf11..4fb3e63d21 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass | |||
@@ -1,15 +1,14 @@ | |||
1 | EXTRA_OEMAKE[export] = "1" | ||
2 | |||
3 | do_devshell[dirs] = "${S}" | 1 | do_devshell[dirs] = "${S}" |
4 | do_devshell[nostamp] = "1" | 2 | do_devshell[nostamp] = "1" |
5 | 3 | ||
6 | export DISPLAY | 4 | XAUTHORITY ?= "${HOME}/.Xauthority" |
7 | export DBUS_SESSION_BUS_ADDRESS | ||
8 | export XAUTHORITY ?= "${HOME}/.Xauthority" | ||
9 | export FAKEROOTENV | ||
10 | 5 | ||
11 | devshell_do_devshell() { | 6 | devshell_do_devshell() { |
7 | export DISPLAY='${DISPLAY}' | ||
8 | export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}' | ||
9 | export XAUTHORITY='${XAUTHORITY}' | ||
12 | export TERMWINDOWTITLE="Bitbake Developer Shell" | 10 | export TERMWINDOWTITLE="Bitbake Developer Shell" |
11 | export EXTRA_OEMAKE='${EXTRA_OEMAKE}' | ||
13 | ${TERMCMD} | 12 | ${TERMCMD} |
14 | if [ $? -ne 0 ]; then | 13 | if [ $? -ne 0 ]; then |
15 | echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." | 14 | echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." |