aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/bash-inst.xml4
-rw-r--r--chapter05/binutils-inst.xml2
-rw-r--r--chapter05/bzip2-inst.xml2
-rw-r--r--chapter05/diffutils-inst.xml2
-rw-r--r--chapter05/fileutils-inst.xml2
-rw-r--r--chapter05/gcc-inst.xml2
-rw-r--r--chapter05/gettext-inst.xml2
-rw-r--r--chapter05/grep-inst.xml2
-rw-r--r--chapter05/gzip-inst.xml2
-rw-r--r--chapter05/introduction.xml2
-rw-r--r--chapter05/kernel-inst.xml2
-rw-r--r--chapter05/make-inst.xml2
-rw-r--r--chapter05/mawk-inst.xml2
-rw-r--r--chapter05/oldnsslib.xml4
-rw-r--r--chapter05/proc.xml2
-rw-r--r--chapter05/pwdgroup.xml4
-rw-r--r--chapter05/sed-inst.xml2
-rw-r--r--chapter05/shellutils-inst.xml2
-rw-r--r--chapter05/tar-inst.xml4
-rw-r--r--chapter05/texinfo-inst.xml2
-rw-r--r--chapter05/textutils-inst.xml2
21 files changed, 0 insertions, 50 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml
index 3ff584bcb..a436f5831 100644
--- a/chapter05/bash-inst.xml
+++ b/chapter05/bash-inst.xml
@@ -6,7 +6,6 @@ Install Bash by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --enable-static-link --prefix=$LFS/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin
--with-curses &amp;&amp;</userinput>
@@ -14,7 +13,6 @@ Install Bash by running the following commands:
<userinput>make install &amp;&amp;</userinput>
<userinput>cd $LFS/bin &amp;&amp;</userinput>
<userinput>ln -s bash sh</userinput>
-
</literallayout></blockquote>
<para>
@@ -30,10 +28,8 @@ first and adjust the path in the following commands accordingly:
</para>
<blockquote><literallayout>
-
<userinput>cd /usr/lib &amp;&amp;</userinput>
<userinput>ln -s libncurses.a libcurses.a</userinput>
-
</literallayout></blockquote>
<para>
diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml
index f08640f42..bcda9a2a7 100644
--- a/chapter05/binutils-inst.xml
+++ b/chapter05/binutils-inst.xml
@@ -6,13 +6,11 @@ Install Binutils by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --prefix=$LFS/usr --disable-nls
&amp;&amp;</userinput>
<userinput>make -e LDFLAGS=-all-static tooldir=$LFS/usr
&amp;&amp;</userinput>
<userinput>make -e tooldir=$LFS/usr install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml
index 277ee2f5e..847b2637b 100644
--- a/chapter05/bzip2-inst.xml
+++ b/chapter05/bzip2-inst.xml
@@ -6,7 +6,6 @@ Install Bzip2 by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>sed \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS)
\$(LDFLAGS) -o"/ \</userinput>
@@ -15,7 +14,6 @@ Install Bzip2 by running the following commands:
<userinput>make PREFIX=$LFS/usr install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/diffutils-inst.xml b/chapter05/diffutils-inst.xml
index e3e6a6a95..bff2e4813 100644
--- a/chapter05/diffutils-inst.xml
+++ b/chapter05/diffutils-inst.xml
@@ -6,14 +6,12 @@ Install Diffutils by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2
&amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
<userinput>unset CPPFLAGS &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index fd3958874..8f2f53948 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -6,7 +6,6 @@ Install Fileutils by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>patch -Np1 -i ../fileutils-4.0.patch
&amp;&amp;</userinput>
<userinput>./configure --disable-nls \</userinput>
@@ -16,7 +15,6 @@ Install Fileutils by running the following commands:
<userinput>make install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>ln -s ../../bin/install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 732aeba0b..c7832bd96 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -6,7 +6,6 @@ Install GCC by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
@@ -27,7 +26,6 @@ Install GCC by running the following commands:
&amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>ln -s gcc cc</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/gettext-inst.xml b/chapter05/gettext-inst.xml
index b78d4c711..210ef82ae 100644
--- a/chapter05/gettext-inst.xml
+++ b/chapter05/gettext-inst.xml
@@ -6,13 +6,11 @@ Install Gettext by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --disable-nls &amp;&amp;</userinput>
<userinput>make -C lib &amp;&amp;</userinput>
<userinput>make -C intl &amp;&amp;</userinput>
<userinput>make -C src LDFLAGS=-all-static msgfmt &amp;&amp;</userinput>
<userinput>cp src/msgfmt $LFS/usr/bin</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml
index ecf2051ee..7b5c12b79 100644
--- a/chapter05/grep-inst.xml
+++ b/chapter05/grep-inst.xml
@@ -6,7 +6,6 @@ Install Grep by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2
&amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr --disable-nls
@@ -14,7 +13,6 @@ Install Grep by running the following commands:
<userinput>unset CPPFLAGS &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
index 436410529..5f09cbe84 100644
--- a/chapter05/gzip-inst.xml
+++ b/chapter05/gzip-inst.xml
@@ -6,7 +6,6 @@ Before Gzip is installed, the gzip patch file needs to be unpacked.
</para>
<blockquote><literallayout>
-
<userinput>patch -Np1 -i ../gzip-1.2.4a.patch &amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
@@ -14,7 +13,6 @@ Before Gzip is installed, the gzip patch file needs to be unpacked.
<userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip
$LFS/bin &amp;&amp;</userinput>
<userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/introduction.xml b/chapter05/introduction.xml
index de413dc92..05278c75c 100644
--- a/chapter05/introduction.xml
+++ b/chapter05/introduction.xml
@@ -41,9 +41,7 @@ properly if you decided to make use of it. Run the following:
</para>
<blockquote><literallayout>
-
<userinput>echo $LFS</userinput>
-
</literallayout></blockquote>
<para>
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml
index a4fc39af0..44974545e 100644
--- a/chapter05/kernel-inst.xml
+++ b/chapter05/kernel-inst.xml
@@ -14,14 +14,12 @@ The kernel configuration file is created by running the following command:
</para>
<blockquote><literallayout>
-
<userinput>make mrproper &amp;&amp;</userinput>
<userinput>yes "" | make config &amp;&amp;</userinput>
<userinput>make dep &amp;&amp;</userinput>
<userinput>cd $LFS/usr/include &amp;&amp;</userinput>
<userinput>ln -s ../src/linux/include/linux &amp;&amp;</userinput>
<userinput>ln -s ../src/linux/include/asm</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml
index 74fee7dea..4e8929b94 100644
--- a/chapter05/make-inst.xml
+++ b/chapter05/make-inst.xml
@@ -6,12 +6,10 @@ Install Make by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --prefix=$LFS/usr
--disable-nls &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/mawk-inst.xml b/chapter05/mawk-inst.xml
index afc15840c..a1f731bd1 100644
--- a/chapter05/mawk-inst.xml
+++ b/chapter05/mawk-inst.xml
@@ -6,7 +6,6 @@ Install Mawk by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure &amp;&amp;</userinput>
<userinput>sed \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC)
@@ -16,7 +15,6 @@ Install Mawk by running the following commands:
<userinput>make BINDIR=$LFS/usr/bin \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;MANDIR=$LFS/usr/share/man/man1
install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/oldnsslib.xml b/chapter05/oldnsslib.xml
index b56a97906..87357d6e0 100644
--- a/chapter05/oldnsslib.xml
+++ b/chapter05/oldnsslib.xml
@@ -10,9 +10,7 @@ uses by simply executing the library, like this:
</para>
<blockquote><literallayout>
-
<userinput>/lib/libc.so.6</userinput>
-
</literallayout></blockquote>
<para>
@@ -22,9 +20,7 @@ distribution, copy the NSS library files by running:
</para>
<blockquote><literallayout>
-
<userinput>cp -av /lib/libnss* $LFS/lib</userinput>
-
</literallayout></blockquote>
</sect1>
diff --git a/chapter05/proc.xml b/chapter05/proc.xml
index 6c4ab7d8b..27cea3ee5 100644
--- a/chapter05/proc.xml
+++ b/chapter05/proc.xml
@@ -14,9 +14,7 @@ The proc file system is mounted under $LFS/proc by running the following command
</para>
<blockquote><literallayout>
-
<userinput>mount proc $LFS/proc -t proc</userinput>
-
</literallayout></blockquote>
</sect1>
diff --git a/chapter05/pwdgroup.xml b/chapter05/pwdgroup.xml
index 0e27d6c82..279e73e18 100644
--- a/chapter05/pwdgroup.xml
+++ b/chapter05/pwdgroup.xml
@@ -22,10 +22,8 @@ following command:
</para>
<blockquote><literallayout>
-
<userinput>echo "root:x:0:0:root:/root:/bin/bash" &gt;
$LFS/etc/passwd</userinput>
-
</literallayout></blockquote>
<para>
@@ -34,7 +32,6 @@ following:
</para>
<literallayout>
-
<userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput>
root:x:0:
bin:x:1:
@@ -49,7 +46,6 @@ following:
dialout:x:10:
audio:x:11:
<userinput>EOF</userinput>
-
</literallayout>
</sect1>
diff --git a/chapter05/sed-inst.xml b/chapter05/sed-inst.xml
index 09894fbfb..7be838ca6 100644
--- a/chapter05/sed-inst.xml
+++ b/chapter05/sed-inst.xml
@@ -6,7 +6,6 @@ Install Sed by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2
&amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr
@@ -14,7 +13,6 @@ Install Sed by running the following commands:
<userinput>unset CPPFLAGS &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml
index 5c65eefc7..3da0e0b18 100644
--- a/chapter05/shellutils-inst.xml
+++ b/chapter05/shellutils-inst.xml
@@ -6,7 +6,6 @@ Install Shellutils by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --prefix=$LFS/usr
--disable-nls &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
@@ -14,7 +13,6 @@ Install Shellutils by running the following commands:
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv date echo false pwd stty $LFS/bin &amp;&amp;</userinput>
<userinput>mv su true uname hostname $LFS/bin</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml
index 6eeba1ef3..50851a19d 100644
--- a/chapter05/tar-inst.xml
+++ b/chapter05/tar-inst.xml
@@ -13,11 +13,9 @@ Apply the patch by running the following command:
</para>
<blockquote><literallayout>
-
<userinput>cd src &amp;&amp;</userinput>
<userinput>patch -i ../../gnutarpatch.txt &amp;&amp;</userinput>
<userinput>cd ..</userinput>
-
</literallayout></blockquote>
<para>
@@ -25,7 +23,6 @@ Install Tar by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --prefix=$LFS/usr
--disable-nls \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/usr/bin &amp;&amp;
@@ -33,7 +30,6 @@ Install Tar by running the following commands:
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>mv $LFS/usr/bin/tar $LFS/bin</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/texinfo-inst.xml b/chapter05/texinfo-inst.xml
index 34633361a..317630604 100644
--- a/chapter05/texinfo-inst.xml
+++ b/chapter05/texinfo-inst.xml
@@ -6,12 +6,10 @@ Install Texinfo by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --prefix=$LFS/usr
--disable-nls &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install</userinput>
-
</literallayout></blockquote>
</sect2>
diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml
index 2fe91620c..c21d6cd53 100644
--- a/chapter05/textutils-inst.xml
+++ b/chapter05/textutils-inst.xml
@@ -6,13 +6,11 @@ Install Textutils by running the following commands:
</para>
<blockquote><literallayout>
-
<userinput>./configure --prefix=$LFS/usr
--disable-nls &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>mv $LFS/usr/bin/cat $LFS/bin</userinput>
-
</literallayout></blockquote>
</sect2>