[PATCH v2] serial-getty service: Add linux as default TERM

Joel Fernandes
2014-05-03T23:26:12Z

In poky with systemd enabled, vt102 is selected for getty
causing user to experience a very crappy terminal. Default
TERM to linux.

Signed-off-by: Joel Fernandes <joelf@ti.com>
---
v2: Dropped PR bump

.../systemd-serialgetty/serial-getty@.service | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 865de34..eb2280b 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -20,6 +20,7 @@ Before=getty.target
IgnoreOnIsolate=yes

[Service]
+Environment="TERM=linux"
ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM
Type=idle
Restart=always
--
1.7.9.5