From: "Eilís 'pidge' Ní Fhlannagáin" <pidge@baylibre.com>
To: openembedded-core@lists.openembedded.org
Cc: "Eilís 'pidge' Ní Fhlannagáin" <pidge@baylibre.com>
Subject: [PATCH 0/3] useradd fixes, tests and documentation
Date: Thu, 7 Dec 2023 12:45:31 +0000 [thread overview]
Message-ID: <cover.1701952927.git.pidge@baylibre.com> (raw)
This patch series fixes and/or tests for some issues in useradd dependencies. It
adds a new variable "USERADD_DEPENDS" that is required now for recipes that have
dependencies on other recipes useradd.
Fixes/Tests:
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
Tests:
Bug 14961 - addtask between do_populate_sysroot and do_package breaks useradd class
Documentation for useradd is also included.
Eilís 'pidge' Ní Fhlannagáin (3):
useradd: Fix issues with useradd dependencies
usergrouptests.py: Add test for switching between static-ids
variables.rst: Add USERADD_DEPENDS
documentation/ref-manual/variables.rst | 15 +++++
.../selftest-users/creategroup1.bb | 32 +++++++++++
.../selftest-users/creategroup2.bb | 33 +++++++++++
.../selftest-users/useraddbadtask.bb | 20 +++++++
meta/classes/useradd.bbclass | 4 +-
.../lib/oeqa/selftest/cases/usergrouptests.py | 55 +++++++++++++++++++
6 files changed, 158 insertions(+), 1 deletion(-)
create mode 100644 meta-selftest/recipes-test/selftest-users/creategroup1.bb
create mode 100644 meta-selftest/recipes-test/selftest-users/creategroup2.bb
create mode 100644 meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
create mode 100644 meta/lib/oeqa/selftest/cases/usergrouptests.py
--
2.34.1
next reply other threads:[~2023-12-07 12:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 12:45 Eilís 'pidge' Ní Fhlannagáin [this message]
2023-12-07 12:45 ` [PATCH 1/3] useradd: Fix issues with useradd dependencies Eilís 'pidge' Ní Fhlannagáin
2023-12-07 12:58 ` [OE-core] " Alexander Kanavin
2023-12-07 13:22 ` Richard Purdie
2023-12-08 10:26 ` Jermain Horsman
2023-12-07 12:45 ` [PATCH 2/3] usergrouptests.py: Add test for switching between static-ids Eilís 'pidge' Ní Fhlannagáin
2023-12-07 12:45 ` [PATCH 3/3] variables.rst: Add USERADD_DEPENDS Eilís 'pidge' Ní Fhlannagáin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1701952927.git.pidge@baylibre.com \
--to=pidge@baylibre.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox