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

Submitted by Joel Fernandes on May 4, 2014, 8:46 p.m. | Patch ID: 71477


Message ID 1399236371-3167-1-git-send-email-joelf@ti.com
State Accepted
Commit 473ff65c2f69de4ece3204fadfae7c5cb992149a
Headers show

Commit Message

Joel Fernandes May 4, 2014, 8:46 p.m.
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>
v2: Removed PR bump.
v3: Changed TERM to xterm, pass -8 to getty.

 .../systemd-serialgetty/serial-getty@.service      |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 865de34..6dd335c 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
-ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM
+ExecStart=-/sbin/agetty -8 --keep-baud %I @BAUDRATE@ $TERM