Re: [OE-core] systemd-firstboot not triggered on read/write /etc folder

2024-02-18 Thread Chen Qi via lists.openembedded.org
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',

[OE-core] systemd-firstboot not triggered on read/write /etc folder

2024-02-18 Thread dave . elek . 96
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,