aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r--chapter06/glibc-inst.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 63a885916..8f83dcd60 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -1,6 +1,10 @@
<sect2>
<title>Installation of Glibc</title>
+<para>This package requires its patch to be applied before you can
+install it. Make sure it's unpacked before running the installation
+commands.</para>
+
<para>Before starting to install glibc, you must cd into the
glibc-&glibc-version; directory and unpack glibc-linuxthreads inside
the glibc-&glibc-version; directory, not in /usr/src as you normally
@@ -22,12 +26,8 @@ is putting your system at very high risk.</para>
<para>Install Glibc by running the following commands:</para>
-<para><screen><userinput>touch /etc/ld.so.conf &amp;&amp;
-cp malloc/Makefile malloc/Makefile.backup &amp;&amp;
-sed 's%\$(PERL)%/usr/bin/perl%' \
-&nbsp;&nbsp;&nbsp;&nbsp;malloc/Makefile.backup &gt; malloc/Makefile &amp;&amp;
-cp login/Makefile login/Makefile.backup &amp;&amp;
-sed 's/root/0/' login/Makefile.backup &gt; login/Makefile &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-version;.patch &amp;&amp;
+touch /etc/ld.so.conf &amp;&amp;
mkdir ../glibc-build &amp;&amp;
cd ../glibc-build &amp;&amp;
../glibc-&glibc-version;/configure --prefix=/usr \