terminal.bbclass: do not export PS1
authorAnders Darander <anders@chargestorm.se>
Fri, 10 Jan 2014 14:59:01 +0000 (15:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2014 15:16:52 +0000 (15:16 +0000)
commite853e7223911d64c3c263babfb7d0b26c7184a4c
tree5184409293df4e9eca8e875893d389d65183e990
parent06bf41ee4e58d68aa97ec8884372283b6a7407df
terminal.bbclass: do not export PS1

With a complex PS1 setup, PS1 might not have all characters correctly escaped
when terminal.bbclass writes the export. This caused the run.do_terminal.PID to
terminate, making it impossible to use the devshell.

As the spawned shell will parse e.g. .bashrc (or whatever rc-file is being
used), PS1 will be reset in the devshell.

(From OE-Core rev: a5e6926cd409140d16391c72316da00ffbfe5429)

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