mbox series

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

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

Message

Randolph Sapp June 8, 2023, 8:47 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 incorrect 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 "incorrect" 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 (2):
  systemd: drop the useradd params
  arago.conf: add serial-getty-generator to systemd

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