summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/terminal.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass
index ae338e9f57..96d2d2acc0 100644
--- a/meta/classes/terminal.bbclass
+++ b/meta/classes/terminal.bbclass
@@ -62,6 +62,10 @@ def oe_terminal(command, title, d):
envdata.setVar(key, str(value))
envdata.setVarFlag(key, 'export', 1)
+ # LD_PRELOAD of pseudo will cause problems if this is a fakeroot task
+ # and we shouldn't be exporting it anyway
+ envdata.delVar('LD_PRELOAD')
+
# Replace command with an executable wrapper script
command = emit_terminal_func(command, envdata, d)