summaryrefslogtreecommitdiffstats
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-06 17:59:17 +0100
commite32543e0d01b30d9d8ad9e896b93b92500ee4bb9 (patch)
treef64f3745cd4066b6c82f65e21d40c3c0df813e3a
parent8b91e4462b84e4b7dfb8d935f11f8600d5991edc (diff)
downloadpoky-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@.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