path: root/meta/classes/cml1.bbclass
diff options
authorNathan Rossi <>2019-04-02 08:17:39 +0000
committerRichard Purdie <>2019-04-03 14:46:57 +0100
commit53724281eb486847bc3be824aa4513a8688ec296 (patch)
tree86cc04532f1b374e83f6cad2f9fecefa361e8e24 /meta/classes/cml1.bbclass
parent0ee8d4d58b2d755615ae4f7c3783b72d5aabaa63 (diff)
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. Signed-off-by: Nathan Rossi <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/classes/cml1.bbclass')
0 files changed, 0 insertions, 0 deletions