summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <Matt.Jolly@footclan.ninja>2021-05-11 20:36:10 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-11 18:04:51 +0100
commitb262745c3362ed866f77973d17af64e2a205488e (patch)
tree40984bc9464ab5bc582a84c1e911c57d21389c0e /sys-libs/glibc/glibc-2.33.ebuild
parentsys-apps/findutils: Stabilize 4.8.0 arm, #789063 (diff)
downloadgentoo-b262745c3362ed866f77973d17af64e2a205488e.tar.gz
gentoo-b262745c3362ed866f77973d17af64e2a205488e.tar.bz2
gentoo-b262745c3362ed866f77973d17af64e2a205488e.zip
sys-libs/glibc: Remove check for 'files' provider.
The check for a files provider breaks on certain valid nsswitch.conf configurations. As the check was only required for =sys-libs/glibc-2.26 it has been removed. Closes: https://bugs.gentoo.org/789435 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Matt Jolly <Kangie@footclan.ninja> Closes: https://github.com/gentoo/gentoo/pull/20769 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs/glibc/glibc-2.33.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.33.ebuild15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys-libs/glibc/glibc-2.33.ebuild b/sys-libs/glibc/glibc-2.33.ebuild
index 8cda845c34b6..f2eabcd84c0f 100644
--- a/sys-libs/glibc/glibc-2.33.ebuild
+++ b/sys-libs/glibc/glibc-2.33.ebuild
@@ -649,21 +649,6 @@ sanity_prechecks() {
ewarn "hypervisor, which is probably not what you want."
fi
- # Check for sanity of /etc/nsswitch.conf
- if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then
- local entry
- for entry in passwd group shadow; do
- if ! egrep -q "^[ \t]*${entry}:.*files" "${EROOT}"/etc/nsswitch.conf; then
- eerror "Your ${EROOT}/etc/nsswitch.conf is out of date."
- eerror "Please make sure you have 'files' entries for"
- eerror "'passwd:', 'group:' and 'shadow:' databases."
- eerror "For more details see:"
- eerror " https://wiki.gentoo.org/wiki/Project:Toolchain/nsswitch.conf_in_glibc-2.26"
- die "nsswitch.conf has no 'files' provider in '${entry}'."
- fi
- done
- fi
-
# ABI-specific checks follow here. Hey, we have a lot more specific conditions that
# we test for...
if ! is_crosscompile ; then