mbox series

[meta-arago,master/kirkstone,PATCHv2,0/3] Fix some configuration options for systemd

Message ID 20230609192415.3210941-1-rs@ti.com
Headers show
Series Fix some configuration options for systemd | expand

Message

Randolph Sapp June 9, 2023, 7:24 p.m. UTC
From: Randolph Sapp <rs@ti.com>

Fixing up some systemd stuff. Using the auto getty generator built into
systemd instead of the external oe-core getty service.

Also drop the duplicate/invalid useradd entries in the systemd append.

This should be all that's required to squelch the endless serial getty
start/stop logs for systemd. There's probably some work required for
sysvinit as well. Should just be setting SERIAL_CONSOLES_CHECK =
$SERIAL_CONSOLES or something along those lines.

Still not sure how I feel about having inactive serial console
definitions in a bsp layer but if we don't define it at all then oe-core
will just blindly assume we wanted a console on ttyS0. That's especially
problematic for the init systems unable to generate getty scripts
automatically. SERIAL_CONSOLES_CHECK at least fixes the sysvinit
behavior.

Randolph Sapp (3):
  systemd: drop the useradd params
  arago.conf: add serial-getty-generator to systemd
  systemd: move packageconfig appends to distro config

 meta-arago-distro/conf/distro/arago.conf                  | 2 +-
 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

Comments

Ryan Eatmon June 12, 2023, 2:44 p.m. UTC | #1
This patch series does not apply cleanly because it assumes your 
previous patches were applied.  But we are not accepting those patches 
until the identified issue is resolved.

If this patch series is independent of that series, then please resubmit 
this series on top of current kirkstone.


On 6/9/2023 2:24 PM, rs@ti.com wrote:
> From: Randolph Sapp <rs@ti.com>
> 
> Fixing up some systemd stuff. Using the auto getty generator built into
> systemd instead of the external oe-core getty service.
> 
> Also drop the duplicate/invalid useradd entries in the systemd append.
> 
> This should be all that's required to squelch the endless serial getty
> start/stop logs for systemd. There's probably some work required for
> sysvinit as well. Should just be setting SERIAL_CONSOLES_CHECK =
> $SERIAL_CONSOLES or something along those lines.
> 
> Still not sure how I feel about having inactive serial console
> definitions in a bsp layer but if we don't define it at all then oe-core
> will just blindly assume we wanted a console on ttyS0. That's especially
> problematic for the init systems unable to generate getty scripts
> automatically. SERIAL_CONSOLES_CHECK at least fixes the sysvinit
> behavior.
> 
> Randolph Sapp (3):
>    systemd: drop the useradd params
>    arago.conf: add serial-getty-generator to systemd
>    systemd: move packageconfig appends to distro config
> 
>   meta-arago-distro/conf/distro/arago.conf                  | 2 +-
>   meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 4 ----
>   2 files changed, 1 insertion(+), 5 deletions(-)
>