From: Pascal Bach Date: Fri, 12 Feb 2016 15:06:13 +0000 (+0100) Subject: lib/oe/terminal: set workdir for konsole terminal X-Git-Tag: 2016-4~903 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bd06944249c3de3f629c013e14f446464441c4da;p=openembedded-core.git lib/oe/terminal: set workdir for konsole terminal It seems that if the --workdir option is not set konsole does open in the users home directory. By setting --workdir . konsole opens in the recipes work directory. This is the same behavior as observed for other consoles. (Tested with Konsole 2.14.2 on Debian Jessie). Signed-off-by: Pascal Bach Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 1efc06d08e..634daa9033 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -83,7 +83,7 @@ class Terminology(XTerminal): priority = 2 class Konsole(XTerminal): - command = 'konsole --nofork -p tabtitle="{title}" -e {command}' + command = 'konsole --nofork --workdir . -p tabtitle="{title}" -e {command}' priority = 2 def __init__(self, sh_cmd, title=None, env=None, d=None):