]> code.ossystems Code Review - openembedded-core.git/commit
classes/terminal: fix pseudo exiting when launching devshell
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 14 Aug 2013 15:18:33 +0000 (16:18 +0100)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 16 Aug 2013 09:39:41 +0000 (10:39 +0100)
commit88866d93b1a99a921d390044a8399c3ef24dc977
treee1ca7a710b1bf31c3e99e7fd8bcf878e7aa916d2
parentacf46cb2eb03c2ed3aadd7858044ba2837a83292
classes/terminal: fix pseudo exiting when launching devshell

In dylan, since the entire bitbake process is run under pseudo,
LD_PRELOAD is set when we collect BB_ORIGENV and thus when we construct
the devshell environment from the latter, LD_PRELOAD is included.
However, for a fakeroot task we explicitly run the devshell under pseudo
(e.g. "pseudo /bin/bash"), and if LD_PRELOAD is set to preload
libpseudo.so when pseudo is run, it seems to exit immediately without
error. Since LD_PRELOAD shouldn't be exported anyway, exclude this from
the environment so it doesn't prevent running the shell.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/terminal.bbclass