diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2017-04-07 16:33:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 13:07:33 +0100 |
commit | 5476c5d9d8fc278faeff2fd8a33cf5582636a943 (patch) | |
tree | 4672767b05779ed20e5949ead5b339311422fb8a /oe-init-build-env | |
parent | 7391de7bf6bc96c6f21f4a23e7e2de421d2627dc (diff) | |
download | poky-5476c5d9d8fc278faeff2fd8a33cf5582636a943.tar.gz |
base-files: resize only serial tty's in profile
[Backported from master.]
We don't want to run resize on non serial consoles. There's
been an earlier attempt (6557787), so this builds upon that.
The problem we're seeing is that if there is text buffered in
the virtual console (like from a desperate user trying to
enter login details), resize will get stuck while calling
ioctl(tty, TCSETAW);
Since serial consoles are named (not just numbered), this
change limits resize's reach even further to run only on
/dev/tty[A-z] (thus avoiding /dev/tty[0-9]).
(From OE-Core rev: 00ff70dc6284a510e4fe3acfaae6b59663fd3141)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions