Skip to content

Fix some configuration options for systemd

[email protected] yocto-meta-arago 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v2 posting 2/24 patches 1 replySuperseded
  3. v2 posting 1/23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arago.conf: make things more readable and fix the virtualsmeta-arago-distro/conf/distro/arago.conf+6 -60 replies
2/4systemd: drop the useradd paramsmeta-arago-distro/recipes-core/systemd/systemd_%.bbappend+0 -20 replies
3/4arago.conf: add serial-getty-generator to systemdmeta-arago-distro/conf/distro/arago.conf+1 -10 replies
4/4systemd: move packageconfig appends to distro configmeta-arago-distro/conf/distro/arago.conf meta-arago-distro/recipes-core/systemd/systemd_%.bbappend+1 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

From: Randolph Sapp <[email protected]>

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(-)
Signature · 1 line
2.41.0