]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
terminal.bbclass: force bash for devshell
authorJoe Slater <joe.slater@windriver.com>
Thu, 12 Aug 2021 22:59:31 +0000 (15:59 -0700)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 23 Aug 2021 07:46:51 +0000 (15:46 +0800)
commit48fe148e5ca344d2a6bad444ef48d9c5ea414448
treeb62194a71d40a2c557300e4e28c7deb406dd8435
parent09e238635c8d4cd595c2233a14c2ce1cbb9e5162
terminal.bbclass: force bash for devshell

Since shell_trap_code in build.py sets /bin/sh as the interpreter
we will die a silent death if our environment contains things like
"export -f bodilyfunction" and /bin/sh is really /bin/dash.

Fixes this for the case of devshell.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23d296b3567aa31bad7b2a8558d4bd3e4505843b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/terminal.bbclass