[lfs-book] r10889 - trunk/BOOK/chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Tue Apr 7 07:06:14 PDT 2015


Author: bdubbs
Date: Tue Apr  7 07:06:14 2015
New Revision: 10889

Log:
Split glibc configuration into separate sections

Modified:
   trunk/BOOK/chapter06/glibc.xml

Modified: trunk/BOOK/chapter06/glibc.xml
==============================================================================
--- trunk/BOOK/chapter06/glibc.xml	Tue Apr  7 06:45:18 2015	(r10888)
+++ trunk/BOOK/chapter06/glibc.xml	Tue Apr  7 07:06:14 2015	(r10889)
@@ -243,10 +243,12 @@
       <primary sortas="e-/etc/localtime">/etc/localtime</primary>
     </indexterm>
 
+  <sect3>
+  <title>Adding nsswitch.conf</title>
+
     <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
-    because, although Glibc provides defaults when this file is missing or corrupt,
-    the Glibc defaults do not work well in a networked environment. The time zone
-    also needs to be configured.</para>
+    because the Glibc defaults do not work well in a networked environment.
+    </para>
 
     <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
     following:</para>
@@ -269,7 +271,12 @@
 # End /etc/nsswitch.conf</literal>
 EOF</userinput></screen>
 
-    <para>Install timezone data:</para>
+    </sect3>
+
+    <sect3>
+    <title>Adding time zone data</title>
+
+    <para>Install and set up the timezone data with the following:</para>
 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
 
 ZONEINFO=/usr/share/zoneinfo
@@ -347,9 +354,9 @@
     <para>Replace <replaceable><xxx></replaceable> with the name of the
     time zone selected (e.g., Canada/Eastern).</para>
 
-  </sect2>
+  </sect3>
 
-  <sect2 id="conf-ld" role="configuration">
+  <sect3 id="conf-ld" role="configuration">
     <title>Configuring the Dynamic Loader</title>
 
     <indexterm zone="conf-ld">
@@ -392,6 +399,7 @@
 EOF
 mkdir -pv /etc/ld.so.conf.d</userinput></screen>
 
+  </sect3>
   </sect2>
 
   <sect2 id="contents-glibc" role="content">


More information about the lfs-book mailing list