diff options
author | Joel Fernandes <joelf@ti.com> | 2014-05-04 16:47:45 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 17:59:17 +0100 |
commit | e32543e0d01b30d9d8ad9e896b93b92500ee4bb9 (patch) | |
tree | f64f3745cd4066b6c82f65e21d40c3c0df813e3a | |
parent | 8b91e4462b84e4b7dfb8d935f11f8600d5991edc (diff) | |
download | poky-e32543e0d01b30d9d8ad9e896b93b92500ee4bb9.tar.gz |
serial-getty service: Add xterm as default TERM
In poky with systemd enabled, vt102 is selected for getty
causing user to experience a very crappy terminal. Default
TERM to xterm.
Reviewed-by: Jonathan Liu <net147@gmail.com>
(From OE-Core rev: 473ff65c2f69de4ece3204fadfae7c5cb992149a)
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service index 865de3402d..6dd335c0bc 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service +++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | |||
@@ -20,7 +20,8 @@ Before=getty.target | |||
20 | IgnoreOnIsolate=yes | 20 | IgnoreOnIsolate=yes |
21 | 21 | ||
22 | [Service] | 22 | [Service] |
23 | ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM | 23 | Environment="TERM=xterm" |
24 | ExecStart=-/sbin/agetty -8 --keep-baud %I @BAUDRATE@ $TERM | ||
24 | Type=idle | 25 | Type=idle |
25 | Restart=always | 26 | Restart=always |
26 | RestartSec=0 | 27 | RestartSec=0 |