Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Paul Barker" <paul@pbarker.dev>
To: "Niko Mauno" <niko.mauno@vaisala.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] systemd-serialgetty: Fix do_install for mixed baud rates
Date: Thu, 26 Nov 2026 15:09:29 +0000	[thread overview]
Message-ID: <DN58KHZSPJW5.37L7ERKRY60B1@pbarker.dev> (raw)
In-Reply-To: <20261120163326.6114-1-niko.mauno@vaisala.com>

On Fri Nov 20, 2026 at 4:33 PM GMT, Niko Mauno wrote:
> Since commit b6a7617145c3 ("systemd-serialgetty: use existing unit
> files in systemd") removed the recipe's own serial-getty@.service, any
> SERIAL_CONSOLES entry whose baud rate differs from the first one fails
> do_install, as the unit template it copies no longer exists:
>
>   install: cannot stat '.../serial-getty@.service': No such file or directory
>
> Enable systemd's serial-getty@.service for every console instead, as is
> already done for the first one. That unit runs agetty with --keep-baud,
> so a console's configured rate takes effect only where the kernel has
> set it up, i.e. on a kernel console. Since b6a7617145c3 this has been
> true of the first entry as well; say so in the recipe.
>
> Tested on master and wrynose with mixed-rate SERIAL_CONSOLES: both
> consoles get a getty, and on a qemux86-64 boot with "115200;ttyS0
> 38400;ttyS1", ttyS1, not a kernel console, runs at the 9600 default.
>
> Fixes: b6a7617145c3 ("systemd-serialgetty: use existing unit files in systemd")
> AI-Generated: Uses Claude Code (Claude Opus 5.5)
> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>

Hi,

This seems like a step backwards as we're dropping support for
non-default baud rates. Can we fix this support instead of removing it?

Best regards,

-- 
Paul Barker


  reply	other threads:[~2026-11-26 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 16:33 [PATCH] systemd-serialgetty: Fix do_install for mixed baud rates Niko Mauno
2026-11-26 15:09 ` Paul Barker [this message]
2026-11-27 11:19   ` [PATCH v2] systemd-serialgetty: Fix console " Niko Mauno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DN58KHZSPJW5.37L7ERKRY60B1@pbarker.dev \
    --to=paul@pbarker.dev \
    --cc=niko.mauno@vaisala.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox