aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/shellutils-exp.xml10
-rw-r--r--chapter05/shellutils-inst.xml3
-rw-r--r--chapter05/shellutils.xml1
-rw-r--r--index.xml1
4 files changed, 13 insertions, 2 deletions
diff --git a/chapter05/shellutils-exp.xml b/chapter05/shellutils-exp.xml
new file mode 100644
index 000000000..5422a2ce0
--- /dev/null
+++ b/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>
+
diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml
index 99e28261f..6e784c0c0 100644
--- a/chapter05/shellutils-inst.xml
+++ b/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>
diff --git a/chapter05/shellutils.xml b/chapter05/shellutils.xml
index 887ee8e96..dbd47aa0f 100644
--- a/chapter05/shellutils.xml
+++ b/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>
diff --git a/index.xml b/index.xml
index a246adb35..d457e8c02 100644
--- a/index.xml
+++ b/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">