[PATCH 0/3] Useradd postinstall fixes and tests

Eilís 'pidge' Ní Fhlannagáin
2024-02-22T14:54:08Z

These commits fix #13904 and #15084, adds a test for it and adds a minor fix for
the creategroup tests

Eilís 'pidge' Ní Fhlannagáin (2):
selftest-users: Convoluted selftest for USERADD_DEPENDS
creategroup*: Remove coreutils-native as a DEPENDS

Piotr Łobacz (1):
useradd.bbclass: Fix order of postinst-useradd-*

.../selftest-users/acreategroup.bb | 32 +++++++++
.../selftest-users/bcreategroup.bb | 37 ++++++++++
.../selftest-users/ccreategroup.bb | 34 +++++++++
.../selftest-users/creategroup1.bb | 2 -
.../selftest-users/creategroup2.bb | 1 -
.../selftest-users/dcreategroup.bb | 33 +++++++++
meta/classes-global/staging.bbclass | 7 +-
meta/classes/useradd.bbclass | 72 ++++++++++++-------
.../lib/oeqa/selftest/cases/usergrouptests.py | 4 ++
9 files changed, 189 insertions(+), 33 deletions(-)
create mode 100644 meta-selftest/recipes-test/selftest-users/acreategroup.bb
create mode 100644 meta-selftest/recipes-test/selftest-users/bcreategroup.bb
create mode 100644 meta-selftest/recipes-test/selftest-users/ccreategroup.bb
create mode 100644 meta-selftest/recipes-test/selftest-users/dcreategroup.bb

--
2.34.1