terminal: Exclude BB_ORIGENV from the signatures

devshell was printing a traceback when exiting due to the use of dump_sigs()
being called on the task. This is turn was since this function referenced
BB_ORIGENV. We might as well globally exclude this for now since its a
data store object and cannot be pickled, not would it make sense to do so.

[YOCTO #5683]

(From OE-Core rev: 84b549afb46fce7b5cdaa977286aeb2e90d3bfdb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-12-20 17:16:25 +00:00
parent 08a8c90e95
commit 394691762a
1 changed files with 2 additions and 0 deletions

View File

@ -86,3 +86,5 @@ def oe_terminal(command, title, d):
bb.fatal('No valid terminal found, unable to open devshell')
except oe.terminal.ExecutionError as exc:
bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc))
oe_terminal[vardepsexclude] = "BB_ORIGENV"