]> code.ossystems Code Review - openembedded-core.git/commit
terminal: Use original PATH for terminals
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Mar 2017 09:26:54 +0000 (09:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Mar 2017 09:42:03 +0000 (09:42 +0000)
commit67d7ea2db8bce766daf3419feae3cd8045af5114
tree264722f1f6aacc74b147992db4803e77ffea6a75
parenta47e64d985a610535449730806651f5bfd75d9ec
terminal: Use original PATH for terminals

Now that we filter out PATH to only the utilities we rely upon, the devshel
terminal was broken since it can no longer find the terminals. Even if
we fix that, the user couldn't access any of their commands within
devshell which somewhat defeats its purpose.

Add the original PATH back to the environment to restore that behaviour
since this is more in line with user expectations and it wouldn't be possible
(or desireable) to whitelist all the commands a user might want to use from
the shell.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/terminal.bbclass