[v4] serial-getty service: Add xterm as default TERM

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


Message ID 1399236465-3261-1-git-send-email-joelf@ti.com
State New
Headers show

Commit Message

Joel Fernandes May 4, 2014, 8:47 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 than linux, pass -8 to getty.
v4: Corrected patch title (Sorry!)

 .../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