[OE-core] [PATCH][RFC] systemd-serialgetty: allow baud rate overriding

Khem Raj raj.khem at gmail.com
Sat Mar 19 00:35:17 UTC 2016


> On Mar 7, 2016, at 4:10 AM, Awais Belal <awais_belal at 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 at mentor.com>
> ---
> meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
> index 182167b..e8b027e 100644
> --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .service
> +++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty at .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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160318/feddca34/attachment-0002.sig>


More information about the Openembedded-core mailing list