]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/terminal.py: fix gnome-terminal start behavior
authorTrevor Gamblin <trevor.gamblin@windriver.com>
Thu, 3 Oct 2019 22:45:43 +0000 (18:45 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Oct 2019 10:22:19 +0000 (11:22 +0100)
commitd5fd205239c8e3a1d68649562a7e91c8fbbc805e
tree885c31b97784d914d1f0b0bc223e602d769509fa
parent11e85220d97299be5f65d5208ec21d4ad215317a
lib/oe/terminal.py: fix gnome-terminal start behavior

[Bugzilla Bug 13201] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=13201

Newer versions of gnome-terminal (3.32.0 and up) are not starting
as expected for commands e.g. "bitbake -c devshell zlib". This
manifests as the instance appearing as a new tab rather than a
new window. Fix this (and maintain new window preferred behavior)
by changing the "-x" option to "--" as per the warning message,
avoiding deprecated options:

    # Option “--command” is deprecated and might be removed in a later version of gnome-terminal.
    # Use “-- ” to terminate the options and put the command line to execute after it.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/terminal.py