diff options
author | Joel Fernandes <joelf@ti.com> | 2014-05-04 16:47:45 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-29 13:42:21 +0100 |
commit | a1958d47c6919a0890549469cfd9a2fa7665d165 (patch) | |
tree | 2780a25da20af2c7d0a2900dac84e02076182c5b /meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | |
parent | 6547137fa353016c51367e699fd115c02438833e (diff) | |
download | poky-a1958d47c6919a0890549469cfd9a2fa7665d165.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)
(From OE-Core rev: 3d7191d5e8d7edbfa3c0b0833811957629d99102)
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>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service')
-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 |