On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote: > Hello again, > > a python solution could be one below. > > Also, I found that most of users/groups defined there are redundant as > they already exist (such as root). I guess they are defined from > base-passwd. I am not sure which recipe (base-passwd or systemd) should > have the precedence on this. If it's base-passwd, perhaps this > postcommand should check first if the user does already exist.
I'd say base-passwd should likely be the winner but we should probably error if there is a conflict between what sysusers.d and base-passwd are defining. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#182499): https://lists.openembedded.org/g/openembedded-core/message/182499 Mute This Topic: https://lists.openembedded.org/mt/99343510/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
