aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@mikrodidakt.se>2013-12-30 19:17:58 +0100
committerRobert Yang <liezhi.yang@windriver.com>2014-01-26 14:08:26 +0800
commitb3c051aecde0c0662b352eb789ed276ef00e626f (patch)
tree2a4dfcf109c909fd275d501c0e039f66baff5cba
parent16aac35467087e8cd72308505ac1f9d8d8eb8def (diff)
downloadopenembedded-core-b3c051aecde0c0662b352eb789ed276ef00e626f.tar.gz
meta/lib/oe/terminal.py: Don't pass non-supported '--disable-factory' flag to gnome-terminal
By default, all GNOME terminals share a single process, reducing memory usage. This can be disabled by starting gnome-terminal with the --disable-factory option However, gnome-terminal in Fedora 20 does no longer support the '--disable-factory' flag, so remove it. As the support for 'mate' terminals was added as a copy of the gnome code in 8cc078a9c679845464c59028f584d7aba098cc1f, remove the flag here aswell. (From OE-Core master rev: e8dca725ed8211a874472300a3ed50e494039ab9) Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/lib/oe/terminal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index be2a26bedd..a33abd733d 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -52,11 +52,11 @@ class XTerminal(Terminal):
raise UnsupportedTerminal(self.name)
class Gnome(XTerminal):
- command = 'gnome-terminal --disable-factory -t "{title}" -x {command}'
+ command = 'gnome-terminal -t "{title}" -x {command}'
priority = 2
class Mate(XTerminal):
- command = 'mate-terminal --disable-factory -t "{title}" -x {command}'
+ command = 'mate-terminal -t "{title}" -x {command}'
priority = 2
class Xfce(XTerminal):