Patchwork [0/1] terminal.bbclass: do not export PS1

login
register
mail settings
Submitter Anders Darander
Date Jan. 10, 2014, 2:58 p.m.
Message ID <cover.1389365909.git.anders@chargestorm.se>
Download mbox
Permalink /patch/64537/
State New
Headers show

Pull-request

git://github.com/darander/oe-core terminal.bbclass

Comments

Anders Darander - Jan. 10, 2014, 2:58 p.m.
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.
The following changes since commit 1028ac813fa9803ebfff6bcfa7f8b67012609b27:

  sstate: add do_package to the noexec list in setscene_depvalid (2014-01-07 13:58:28 +0000)

are available in the git repository at:

  git://github.com/darander/oe-core terminal.bbclass
  https://github.com/darander/oe-core/tree/terminal.bbclass

Anders Darander (1):
  terminal.bbclass: do not export PS1

 meta/classes/terminal.bbclass | 4 ++++
 1 file changed, 4 insertions(+)