Does adding 'stateless-rootfs' to IMAGE_FEATURES work for you?
meta/classes-recipe/image.bbclass:IMAGE_PREPROCESS_COMMAND:append = "
${@ 'systemd_preset_all systemd_disable_units' if
bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d) and not
bb.utils.contains('IMAGE_FEATURES',
Hi!
In the systemd-systemctl there is a *systemctl* script used for some
configuration/settings for the systemd services (e.g. enabling services).
In this script if we call the *preset_all* command, it will create an empty
/etc/machine-id file. This is required on read-only /etc folder,