mbox series

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

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

Message

Randolph Sapp June 14, 2023, 5:34 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 (now 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 if the sysvinit getty
service even cares.

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.

This revision also drops some of the bite from the previous version. We
will not drop the sysvinit distro feature conditionally because the
other image targets using sysvinit do not currently signal that they
need sysvinit in a way that works nicely with this config.

Fix spelling.

Randolph Sapp (4):
  arago.conf: make things more readable and fix the virtuals
  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           | 14 +++++++-------
 .../recipes-core/systemd/systemd_%.bbappend        |  4 ----
 2 files changed, 7 insertions(+), 11 deletions(-)