diff options
author | Tean Cunningham <tean.cunningham@digi.com> | 2022-03-01 14:25:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-02 18:43:25 +0000 |
commit | a559a2cba9284a1531fbc402c6fda1c5a51259c1 (patch) | |
tree | e610a4abc12d26451c2ea6bafd5c5dabb9c226dd /meta/classes/buildhistory.bbclass | |
parent | 82f24d21978456476f631812e73033d23a7eac64 (diff) | |
download | poky-a559a2cba9284a1531fbc402c6fda1c5a51259c1.tar.gz |
rootfs-postcommands: amend systemd_create_users add user to group check
Currently when adding a user to a group ('m' type), the conditional
check to only create a user/group if it does not exist always resolves
to true. This causes a build exit failure if the user and/or group
defined in the sysusers configuration file were already created prior to
the execution of systemd_create_users().
This logic has been updated to instead fail silently (consistent with
'u' and 'g' type). Additionally, if a user doesn't exist it will be
created without the default group.
(From OE-Core rev: 65649be6b2196ab964c69605d0306bfc2481da33)
Signed-off-by: Tean Cunningham <tean.cunningham@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
0 files changed, 0 insertions, 0 deletions