All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] serial-getty service: Add linux as default TERM
@ 2014-05-03 22:39 Joel Fernandes
  2014-05-03 22:44 ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Fernandes @ 2014-05-03 22:39 UTC (permalink / raw)
  To: openembedded-core

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>
---
 .../systemd-serialgetty/serial-getty@.service      |    1 +
 meta/recipes-core/systemd/systemd_211.bb           |    1 +
 2 files changed, 2 insertions(+)

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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] serial-getty service: Add linux as default TERM
  2014-05-03 22:39 [PATCH] serial-getty service: Add linux as default TERM Joel Fernandes
@ 2014-05-03 22:44 ` Otavio Salvador
  2014-05-03 22:53   ` Joel Fernandes
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2014-05-03 22:44 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: Patches and discussions about the oe-core layer

On Sat, May 3, 2014 at 7:39 PM, Joel Fernandes <joelf@ti.com> wrote:
> 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>

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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] serial-getty service: Add linux as default TERM
  2014-05-03 22:44 ` Otavio Salvador
@ 2014-05-03 22:53   ` Joel Fernandes
  2014-05-03 23:14     ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Fernandes @ 2014-05-03 22:53 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer

On 05/03/2014 05:44 PM, Otavio Salvador wrote:
> On Sat, May 3, 2014 at 7:39 PM, Joel Fernandes <joelf@ti.com> wrote:
>> 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>
> 
> Don't bump PR, this is not needed in this case.
> 

OK, will the package still update for folks?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] serial-getty service: Add linux as default TERM
  2014-05-03 22:53   ` Joel Fernandes
@ 2014-05-03 23:14     ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2014-05-03 23:14 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: Patches and discussions about the oe-core layer

On Sat, May 3, 2014 at 7:53 PM, Joel Fernandes <joelf@ti.com> wrote:
> On 05/03/2014 05:44 PM, Otavio Salvador wrote:
>> On Sat, May 3, 2014 at 7:39 PM, Joel Fernandes <joelf@ti.com> wrote:
>>> 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>
>>
>> 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.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-03 23:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-03 22:39 [PATCH] serial-getty service: Add linux as default TERM Joel Fernandes
2014-05-03 22:44 ` Otavio Salvador
2014-05-03 22:53   ` Joel Fernandes
2014-05-03 23:14     ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.