]> code.ossystems Code Review - openembedded-core.git/commit
terminal: wait for terminal task to finish before procedding
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Mon, 7 Aug 2017 19:21:51 +0000 (12:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 21:15:51 +0000 (22:15 +0100)
commit3987dddff58410f1b2535ceb1f48aebbbd987889
treed17064f1705e237ff5c40ed2eb3c6f6ed31197dc
parent571e53024b4f924e50cf6a478ccc8d6f097816bb
terminal: wait for terminal task to finish before procedding

This commit generalizes the work done in [1] and [2], both fixing
issues on several areas (the former with -c patch and gnome-terminal and
the latter with -c menuconfig and several terminals, including
gnome-terminal and tmux). The main idea is to get the PID
from the new spawned terminal and loop there until finished.

[1] 76e8ab47c9: terminal: Fix gnome-terminal to work with recent versions
[2] 7d02ea283b: cml1.bbclass: wait until menuconfig terminal finishes

(From OE-Core rev: 55707401d5bfb1f7686c273fc2d0db89df206395)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oe/terminal.py