Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] shadow: upgrade to 4.20.0
@ 2026-08-03  5:18 Jaipaul Cheernam
  2026-08-03  5:18 ` [PATCH 1/2] shadow: upgrade 4.19.4 -> 4.20.0 Jaipaul Cheernam
  2026-08-03  5:18 ` [PATCH 2/2] useradd.bbclass: drop groupmems from sysroot setup Jaipaul Cheernam
  0 siblings, 2 replies; 3+ messages in thread
From: Jaipaul Cheernam @ 2026-08-03  5:18 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jaipaul Cheernam

Upgrade shadow from 4.19.4 to 4.20.0.

Release notes: https://github.com/shadow-maint/shadow/releases/tag/4.20.0

This is a breaking release that removes several programs deprecated in
4.19, notably groupmems(8), expiry(1), and logoutd(8). The upstream
recommendation is to use usermod(8) in place of groupmems.

Patch 1 handles the recipe upgrade itself - three patches are dropped
(the code they patched no longer exists) and one backport is added for a
build fix that landed in master after the release.

Patch 2 is a follow-up to remove groupmems from the useradd.bbclass
sysroot setup, since the binary no longer ships. The class was already
emulating groupmems via usermod, so this just removes the dead code path
that was triggering warnings.

Tested with a full core-image-sysext build on qemux86-64.

Jaipaul Cheernam (2):
  shadow: upgrade 4.19.4 -> 4.20.0
  useradd.bbclass: drop groupmems from sysroot setup

 meta/classes/useradd.bbclass                  |   7 +-
 ...001-subid-Add-stdint.h-for-uintmax_t.patch |  43 +++++++
 .../shadow/files/disable_syslog.patch         |  23 ----
 .../shadow/files/prototypes.patch             |  38 ------
 .../shadow/files/shadow-update-pam-conf.patch | 110 ------------------
 .../{shadow_4.19.4.bb => shadow_4.20.0.bb}    |   8 +-
 6 files changed, 47 insertions(+), 182 deletions(-)
 create mode 100644 meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch
 delete mode 100644 meta/recipes-extended/shadow/files/disable_syslog.patch
 delete mode 100644 meta/recipes-extended/shadow/files/prototypes.patch
 delete mode 100644 meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch
 rename meta/recipes-extended/shadow/{shadow_4.19.4.bb => shadow_4.20.0.bb} (97%)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-03  5:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03  5:18 [PATCH 0/2] shadow: upgrade to 4.20.0 Jaipaul Cheernam
2026-08-03  5:18 ` [PATCH 1/2] shadow: upgrade 4.19.4 -> 4.20.0 Jaipaul Cheernam
2026-08-03  5:18 ` [PATCH 2/2] useradd.bbclass: drop groupmems from sysroot setup Jaipaul Cheernam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox