]> 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>
Tue, 8 Aug 2017 15:22:18 +0000 (16:22 +0100)
commit55707401d5bfb1f7686c273fc2d0db89df206395
tree0d139caefd7f0fd9d0fc5a8ed79e075ba735f0c5
parentda7bc68c399bbcd1baf946931200eba72268b0b3
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

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