poky/meta-selftest
Eilís 'pidge' Ní Fhlannagáin ecef665062 useradd: Fix issues with useradd dependencies
If recipe A requires the useradd actions of recipe B we need to
ensure that recipe B is part of the recipe A dependancy chain. In
order to do that, we introduce USERADD_DEPENDS. This makes sure
that the do_populate_sysroot_setscene of recipe B exists for
recipe A in case of a missing TMPDIR. This requires changes made in
runqueue.py by RP.

This commit along with the runqueue fixes effects:
Bug 13419 - recipes that add users to groups cannot rely on other recipes creating those groups (when population from sstate happens)
Bug 13904 - do_prepare_recipe_sysroot: postinst-useradd-* does not run in order of dependency and sometimes fails
Bug 13279 - Make sure users/groups exist for package_write_* tasks
Bug 15084 - For some reason using of same user in two recipes does not work properly

I've included the start of self-testing for useradd by adding tests for
13419 (which ends up testing 13904, 13279, 15084 by virtue of them all
      having the same root cause)

(From OE-Core rev: b47f2352376bd16b7e7087b4dab143403e67e094)

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-08 17:51:10 +00:00
..
classes oeqa/selftest/sstatetests: Fix intermitttent errors and improve performance 2023-11-09 11:45:37 +00:00
conf layer.conf: Update to nanbield release series 2023-09-10 08:58:53 +01:00
files meta-selftest/files: add xuser to static-passwd/-group 2023-11-20 15:30:52 +00:00
lib oeqa dnf_runtime.py: fix HTTP server IP address and port 2023-09-12 12:37:56 +01:00
recipes-devtools rust: provide examples for C library generation in rust 2023-08-21 16:15:35 +01:00
recipes-extended/zvariant zvariant: add ptest feature for zvariant test suite 2023-05-05 11:07:26 +01:00
recipes-test useradd: Fix issues with useradd dependencies 2023-12-08 17:51:10 +00:00
wic selftest: wic: Add test for --part-name argument 2023-04-13 11:56:07 +01:00
README meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00

This layer is intended as test layer, used by scripts/oe-selftest and it's probably a mistake to include it in your builds (unless you want to run the script).