diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2019-04-02 08:17:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-03 14:50:13 +0100 |
commit | 20ebaff9ee9d7392eb02b5df1391efbfedd3bba5 (patch) | |
tree | 4d8542d2bc6608c8a7d0ce9bbe01473636b5c785 /meta/recipes-extended | |
parent | 8491b09e4ecabca8babe79e4140313d2cbca7020 (diff) | |
download | poky-20ebaff9ee9d7392eb02b5df1391efbfedd3bba5.tar.gz |
terminal.bbclass: Generate do_terminal as bitbake would
This changes the runfile that is generated to have the same behaviour as
bitbake with regards to emitting the shebang and trap code. The existing
implementation used 'env' with the current var-SHELL. This means that if
the user has configured there system/environment with a alternate shell
(e.g. csh, zsh, fish, etc.) the do_terminal function would attempt to
execute with the wrong/incompatible shell and fail silently.
With this change devshell and other classes that rely on terminal can
now run when the var-SHELL is not set to a sh compatible shell. For
devshell, it will launch the devshell with the users configured shell.
(From OE-Core rev: 53724281eb486847bc3be824aa4513a8688ec296)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions