Skip to contentSkip to conversation

serial-getty service: Add linux as default TERM

PATCH Superseded Joel Fernandes 2 participants 4 messages May 3, 2014

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial-getty service: Add linux as default TERM

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

---
 .../systemd-serialgetty/[email protected]      |    1 +
 meta/recipes-core/systemd/systemd_211.bb           |    1 +
 2 files changed, 2 insertions(+)
meta/recipes-core/systemd/systemd-serialgetty/[email protected] +1 -0
index 865de34..eb2280b 100644
@@ -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
meta/recipes-core/systemd/systemd_211.bb +1 -0
index 44b1965..f92efd0 100644
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 PROVIDES = "udev"
 
 PE = "1"
+PR = "r1"
 
 DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup glib-2.0 qemu-native util-linux"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · Joel Fernandes

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

Don't bump PR, this is not needed in this case.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw
Quoted 9 lines · Otavio Salvador
Quoted 5 lines · Joel Fernandes

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

Don't bump PR, this is not needed in this case.

OK, will the package still update for folks?

#3 lore raw
Quoted 6 lines · Joel Fernandes
Quoted 5 lines · Otavio Salvador
Quoted 4 lines · Joel Fernandes

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

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Don't bump PR, this is not needed in this case.

OK, will the package still update for folks?

Yes, if you use PRServer it will.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750