[oe-commits] Jacob Kroon : meta/lib/oe/terminal.py: Don't pass non-supported ' --disable-factory' flag to gnome-terminal
git at git.openembedded.org
git at git.openembedded.org
Sun Feb 9 11:01:53 UTC 2014
Module: openembedded-core.git
Branch: dora
Commit: b3c051aecde0c0662b352eb789ed276ef00e626f
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b3c051aecde0c0662b352eb789ed276ef00e626f
Author: Jacob Kroon <jacob.kroon at mikrodidakt.se>
Date: Mon Dec 30 19:17:58 2013 +0100
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 at mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta/lib/oe/terminal.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index be2a26b..a33abd7 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):
More information about the Openembedded-commits
mailing list