public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Enable systemd units based on systemd presets
@ 2025-09-17 10:35 alexander.heinisch via isar-users
  2025-09-17 10:35 ` [PATCH v3 1/2] Minor cleanup: Refactor ROOTFS_FEATURES assignment for image to make upcoming changes more easily trackable alexander.heinisch via isar-users
  2025-09-17 10:35 ` [PATCH v3 2/2] classes/image-postproc: Enable systemd units based on systemd presets alexander.heinisch via isar-users
  0 siblings, 2 replies; 3+ messages in thread
From: alexander.heinisch via isar-users @ 2025-09-17 10:35 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, felix.moessbauer, Alexander Heinisch

From: Alexander Heinisch <alexander.heinisch@siemens.com>

By default population of the presets is automatically done by systemd
on first-boot.

There were several issues with that:

1. The rootfs we get as a build artifact does not reflect the actual
system running in the field.

2. For setups without writeable /etc this fails. With that addition
it happens already at build time.

Note: Additional services are enabled only. Services already enabled
during the package installation won't be changed.

Opt-out: `ROOTFS_FEATURES:remove = "populate-systemd-preset"`

Changes since v2:
  - Enable postprocessing to populate systemd presets via ROOTFS_FEATURES

Alexander Heinisch (2):
  Minor cleanup: Refactor ROOTFS_FEATURES assignment for image to make
    upcoming changes more easily trackable.
  classes/image-postproc: Enable systemd units based on systemd presets

 RECIPE-API-CHANGELOG.md     | 18 ++++++++++++++++++
 meta/classes/image.bbclass  | 10 +++++++++-
 meta/classes/rootfs.bbclass |  6 ++++++
 3 files changed, 33 insertions(+), 1 deletion(-)

--
2.39.5

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250917103506.295010-1-alexander.heinisch%40siemens.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-17 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-17 10:35 [PATCH v3 0/2] Enable systemd units based on systemd presets alexander.heinisch via isar-users
2025-09-17 10:35 ` [PATCH v3 1/2] Minor cleanup: Refactor ROOTFS_FEATURES assignment for image to make upcoming changes more easily trackable alexander.heinisch via isar-users
2025-09-17 10:35 ` [PATCH v3 2/2] classes/image-postproc: Enable systemd units based on systemd presets alexander.heinisch via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox