summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorPiotr Łobacz <p.lobacz@welotec.com>2024-02-23 13:25:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-24 16:10:19 +0000
commit322ef726132a47d977d2c6ee41de5358f1e85994 (patch)
tree205172b793e2d2e5a32920709f1786da8001617d /meta/lib
parent7cf85204f0943bf741ffce5c4105340197c714df (diff)
downloadopenembedded-core-322ef726132a47d977d2c6ee41de5358f1e85994.tar.gz
useradd.bbclass: Fix order of postinst-useradd-*
postinst-useradd-* haven't been running in order of dependency. This patch is reworked from Piotr Łobacz's patch and fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15084 https://bugzilla.yoctoproject.org/show_bug.cgi?id=13904 basepasswd_sysroot_postinst in base-passwd can install postinst-useradd-* scripts with any order. Sometimes this means, for example a useradd postinst will attempt to run without the corresponding group postinst causing errors. This patch ensures that we first run groupadd, then useradd and then group membership. [RP: Tweaked to avoid removing previous fixes and for whitespace/style issues Also ensure the scripts are changed to execute with -e to highlight errors] Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com> Signed-off-by: Jan Górski <j.gorski@welotec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions