]> code.ossystems Code Review - openembedded-core.git/commit
base-files: resize only serial tty's in profile
authorDaniel Díaz <daniel.diaz@linaro.org>
Fri, 7 Apr 2017 21:33:45 +0000 (16:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 May 2017 12:04:47 +0000 (13:04 +0100)
commit00ff70dc6284a510e4fe3acfaae6b59663fd3141
tree2222b68bad3ec84540e2cb25c580c1b766f3b00e
parentb935c1e9dd17afa85a9ffe213d5f94051f585529
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]).

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/base-files/base-files/profile