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 <[email protected]>
---
 .../systemd-serialgetty/[email protected]      |    1 +
 meta/recipes-core/systemd/systemd_211.bb           |    1 +
 2 files changed, 2 insertions(+)

diff --git 
a/meta/recipes-core/systemd/systemd-serialgetty/[email protected] 
b/meta/recipes-core/systemd/systemd-serialgetty/[email protected]
index 865de34..eb2280b 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/[email protected]
+++ b/meta/recipes-core/systemd/systemd-serialgetty/[email protected]
@@ -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
diff --git a/meta/recipes-core/systemd/systemd_211.bb 
b/meta/recipes-core/systemd/systemd_211.bb
index 44b1965..f92efd0 100644
--- a/meta/recipes-core/systemd/systemd_211.bb
+++ b/meta/recipes-core/systemd/systemd_211.bb
@@ -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)}"
-- 
1.7.9.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to