aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/glibc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-02-19 04:04:03 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-02-19 04:04:03 +0000
commitd15bbff7a3c30a6d3d4f9268ad12e3c9de76b456 (patch)
treec2b391623e8b1fad54698d17b1aaba6701311612 /chapter08/glibc.xml
parent8d3553538e714f11177209648fcc84957acf780e (diff)
Fix a glibc bug that causes issues with chrooted applications.
Update to bc-3.3.0. Update to openssl-1.1.1j. Update to meson-0.57.0. Update to linux-5.10.17. Update build times and sizes. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/glibc.xml')
-rw-r--r--chapter08/glibc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index d073f1d88..6f99a94c5 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -50,6 +50,11 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
+ <para>Fix a bug that causes issues with chrooted applications:</para>
+
+ <screen><userinput remap="pre">sed -e '402a\ *result = local->data.services[database_index];' \
+ -i nss/nss_database.c</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>