summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
diff options
context:
space:
mode:
authorJoel Fernandes <joelf@ti.com>2014-05-04 16:47:45 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-29 13:42:21 +0100
commita1958d47c6919a0890549469cfd9a2fa7665d165 (patch)
tree2780a25da20af2c7d0a2900dac84e02076182c5b /meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
parent6547137fa353016c51367e699fd115c02438833e (diff)
downloadpoky-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@.service3
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
20IgnoreOnIsolate=yes 20IgnoreOnIsolate=yes
21 21
22[Service] 22[Service]
23ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM 23Environment="TERM=xterm"
24ExecStart=-/sbin/agetty -8 --keep-baud %I @BAUDRATE@ $TERM
24Type=idle 25Type=idle
25Restart=always 26Restart=always
26RestartSec=0 27RestartSec=0