summaryrefslogtreecommitdiff
path: root/meta/recipes-core/systemd/systemd-serialgetty
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:06 +0100
commit473ff65c2f69de4ece3204fadfae7c5cb992149a (patch)
tree372466807828eea814aa62c96fbb1ada45740b69 /meta/recipes-core/systemd/systemd-serialgetty
parentaaba69d598763831e8b42996154ed87d0db10714 (diff)
downloadopenembedded-core-473ff65c2f69de4ece3204fadfae7c5cb992149a.tar.gz
openembedded-core-473ff65c2f69de4ece3204fadfae7c5cb992149a.tar.bz2
openembedded-core-473ff65c2f69de4ece3204fadfae7c5cb992149a.zip
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> Signed-off-by: Joel Fernandes <joelf@ti.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty')
-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
IgnoreOnIsolate=yes
[Service]
-ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM
+Environment="TERM=xterm"
+ExecStart=-/sbin/agetty -8 --keep-baud %I @BAUDRATE@ $TERM
Type=idle
Restart=always
RestartSec=0