瀏覽代碼

improve ch5 shellutils exp

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 年之前
父節點
當前提交
71cde27640
共有 4 個文件被更改,包括 13 次插入2 次删除
  1. 10 0
      chapter05/shellutils-exp.xml
  2. 1 2
      chapter05/shellutils-inst.xml
  3. 1 0
      chapter05/shellutils.xml
  4. 1 0
      index.xml

+ 10 - 0
chapter05/shellutils-exp.xml

@@ -0,0 +1,10 @@
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>patch -Np1 -i 
+../sh-utils-&sh-utils-version;.patch</userinput>This
+patch is needed to avoid a conflict of variable names with glibc when 
+compiling sh-utils statically.</para>
+
+</sect2>
+

+ 1 - 2
chapter05/shellutils-inst.xml

@@ -2,8 +2,7 @@
 <title>Installation of Sh-utils</title>
 
 <para>Before Sh-utils is installed, the sh-utils patch file needs 
-to be unpacked.  This patch file is necessary to avoid a conflict of
-variable names with glibc when compiling and linking statically.</para>
+to be unpacked.</para>
 
 <para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch &amp;&amp;</userinput>
 <userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>

+ 1 - 0
chapter05/shellutils.xml

@@ -5,6 +5,7 @@
 Estimated disk space required:  &sh-utils-compsize-static;</screen>
 
 &c5-shellutils-inst;
+&c5-shellutils-exp;
 &aa-shellutils-desc;
 
 </sect1>

+ 1 - 0
index.xml

@@ -173,6 +173,7 @@
 <!ENTITY c5-sed SYSTEM "chapter5/sed.xml">
 <!ENTITY c5-sed-inst SYSTEM "chapter5/sed-inst.xml">
 <!ENTITY c5-shellutils SYSTEM "chapter5/shellutils.xml">
+<!ENTITY c5-shellutils-exp SYSTEM "chapter5/shellutils-exp.xml">
 <!ENTITY c5-shellutils-inst SYSTEM "chapter5/shellutils-inst.xml">
 <!ENTITY c5-tar SYSTEM "chapter5/tar.xml">
 <!ENTITY c5-tar-inst SYSTEM "chapter5/tar-inst.xml">