From a079b143320739717dcf06fecff3ce4ffeef5276 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 2 Mar 2026 07:27:53 +0000 Subject: [PATCH] eclass/user-info: Sync with Gentoo It's from Gentoo commit fbbce31f0e4ec8fc1da5cfb19feef4e0ace000d6. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/user-info.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/user-info.eclass b/sdk_container/src/third_party/portage-stable/eclass/user-info.eclass index 848622fe94..3e2bdecfe0 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/user-info.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/user-info.eclass @@ -5,17 +5,17 @@ # @MAINTAINER: # base-system@gentoo.org (Linux) # Michał Górny (NetBSD) -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: Read-only access to user and group information -case ${EAPI} in - 7|8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - if [[ -z ${_USER_INFO_ECLASS} ]]; then _USER_INFO_ECLASS=1 +case ${EAPI} in + 7|8|9) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + # @FUNCTION: egetent # @USAGE: # @DESCRIPTION: