In May last year, two changes were integrated related to how /etc/machine-id is created. The first [1] moved the creation from the systemd recipe to rootfs-postcommands.bbclass. The second [2] introduced creation of it via image.bbclass and systemd-systemctl-native unless the stateless-rootfs distro feature is set.
When I look at these changes, I get the feeling that the second will never have any impact since the first will always create the /etc/machine-id file for all images (as long as systemd is enabled). Should the creation of /etc/machine-id be removed from rootfs-postcommands.bbclass so that it is only created in image.bbclass where there is extra logic to handle the stateless case? //Peter [1] https://git.openembedded.org/openembedded-core/commit/?id=76444b63e614baea33c044851a5859f6d1e69729 [2] https://git.openembedded.org/openembedded-core/commit/?id=c5fb399f5894c16cf8eeadd507dc38c29b0fd657
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137267): https://lists.openembedded.org/g/openembedded-core/message/137267 Mute This Topic: https://lists.openembedded.org/mt/73075192/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
