All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RFC] systemd-serialgetty: allow baud rate overriding
@ 2016-03-07 12:10 Awais Belal
  2016-03-18 13:11 ` Belal, Awais
  2016-03-19  0:35 ` Khem Raj
  0 siblings, 2 replies; 4+ messages in thread
From: Awais Belal @ 2016-03-07 12:10 UTC (permalink / raw)
  To: openembedded-core

In case a getty is required on a UART which is not being
used as the kernel console, the current agetty invocation
fails to obey the baud rate configured through the
SERIAL_CONSOLES variable because it uses --keep-baud.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 182167b..e8b027e 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -21,7 +21,7 @@ IgnoreOnIsolate=yes
 
 [Service]
 Environment="TERM=xterm"
-ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
+ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM
 Type=idle
 Restart=always
 RestartSec=0
-- 
1.9.1



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

* Re: [PATCH][RFC] systemd-serialgetty: allow baud rate overriding
  2016-03-07 12:10 [PATCH][RFC] systemd-serialgetty: allow baud rate overriding Awais Belal
@ 2016-03-18 13:11 ` Belal, Awais
  2016-03-19  0:35 ` Khem Raj
  1 sibling, 0 replies; 4+ messages in thread
From: Belal, Awais @ 2016-03-18 13:11 UTC (permalink / raw)
  To: openembedded-core

Anyone?

BR,
Awais

________________________________________
From: openembedded-core-bounces@lists.openembedded.org [openembedded-core-bounces@lists.openembedded.org] on behalf of Belal, Awais
Sent: Monday, March 07, 2016 5:10 PM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH][RFC] systemd-serialgetty: allow baud rate    overriding

In case a getty is required on a UART which is not being
used as the kernel console, the current agetty invocation
fails to obey the baud rate configured through the
SERIAL_CONSOLES variable because it uses --keep-baud.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 182167b..e8b027e 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -21,7 +21,7 @@ IgnoreOnIsolate=yes

 [Service]
 Environment="TERM=xterm"
-ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
+ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM
 Type=idle
 Restart=always
 RestartSec=0
--
1.9.1

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH][RFC] systemd-serialgetty: allow baud rate overriding
  2016-03-07 12:10 [PATCH][RFC] systemd-serialgetty: allow baud rate overriding Awais Belal
  2016-03-18 13:11 ` Belal, Awais
@ 2016-03-19  0:35 ` Khem Raj
  2016-03-21  9:37   ` Belal, Awais
  1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2016-03-19  0:35 UTC (permalink / raw)
  To: Awais Belal; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]


> On Mar 7, 2016, at 4:10 AM, Awais Belal <awais_belal@mentor.com> wrote:
> 
> In case a getty is required on a UART which is not being
> used as the kernel console, the current agetty invocation
> fails to obey the baud rate configured through the
> SERIAL_CONSOLES variable because it uses --keep-baud.
> 
> Signed-off-by: Awais Belal <awais_belal@mentor.com>
> ---
> meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
> index 182167b..e8b027e 100644
> --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
> +++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
> @@ -21,7 +21,7 @@ IgnoreOnIsolate=yes
> 
> [Service]
> Environment="TERM=xterm"
> -ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
> +ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM

this looks good.

> Type=idle
> Restart=always
> RestartSec=0
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH][RFC] systemd-serialgetty: allow baud rate overriding
  2016-03-19  0:35 ` Khem Raj
@ 2016-03-21  9:37   ` Belal, Awais
  0 siblings, 0 replies; 4+ messages in thread
From: Belal, Awais @ 2016-03-21  9:37 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

Hi Khem,

Thanks a lot for replying. Do I need to resend with RFC removed or will this do?

BR,
Awais

________________________________________
From: Khem Raj [raj.khem@gmail.com]
Sent: Saturday, March 19, 2016 5:35 AM
To: Belal, Awais
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH][RFC] systemd-serialgetty: allow baud rate overriding

> On Mar 7, 2016, at 4:10 AM, Awais Belal <awais_belal@mentor.com> wrote:
>
> In case a getty is required on a UART which is not being
> used as the kernel console, the current agetty invocation
> fails to obey the baud rate configured through the
> SERIAL_CONSOLES variable because it uses --keep-baud.
>
> Signed-off-by: Awais Belal <awais_belal@mentor.com>
> ---
> meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
> index 182167b..e8b027e 100644
> --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
> +++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
> @@ -21,7 +21,7 @@ IgnoreOnIsolate=yes
>
> [Service]
> Environment="TERM=xterm"
> -ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
> +ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM

this looks good.

> Type=idle
> Restart=always
> RestartSec=0
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



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

end of thread, other threads:[~2016-03-21  9:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-07 12:10 [PATCH][RFC] systemd-serialgetty: allow baud rate overriding Awais Belal
2016-03-18 13:11 ` Belal, Awais
2016-03-19  0:35 ` Khem Raj
2016-03-21  9:37   ` Belal, Awais

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.