Ver Fonte

Definitly create /etc/ld.so.conf.d when doing ML, otherwise it's optional (because of role=nodump, the command appers in book but not in profiled xml

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11784 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Thomas Trepl há 5 anos atrás
pai
commit
d92249e3f4
1 ficheiros alterados com 13 adições e 2 exclusões
  1. 13 2
      chapter06/glibc.xml

+ 13 - 2
chapter06/glibc.xml

@@ -476,12 +476,23 @@ unset ZONEINFO</userinput></screen>
 </literal>
 EOF</userinput></screen>
 
-  <para>If desired, the dynamic loader can also search a directory and
+  <para arch="default">If desired, the dynamic loader can also search a directory and
   include the contents of files found there.  Generally the files in
   this include directory are one line specifying the desired library path.
   To add this capability run the following commands:</para>
 
-<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<screen role="nodump" arch="default"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<literal># Add an include directory
+include /etc/ld.so.conf.d/*.conf
+</literal>
+EOF
+mkdir -pv /etc/ld.so.conf.d</userinput></screen>
+
+  <para arch="ml_32,ml_x32,ml_all">The dynamic loader can also search a directory and
+  include the contents of files found there.  Generally the files in
+  this include directory are one line specifying the desired library path.
+  To add this capability run the following commands:</para>
+<screen arch="ml_32,ml_x32,ml_all"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
 <literal># Add an include directory
 include /etc/ld.so.conf.d/*.conf
 </literal>