aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-23 22:38:49 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-23 22:38:49 +0000
commit45714a7d3b3c0851d598d966a2ce9790e177c6e1 (patch)
tree0a575e047b942b5606f2bb2b06d539649b180482 /chapter08
parentb58a7ebf15eb69dffdc4c5cba84422a1fd1bdc08 (diff)
[Bug 127] Clean up ln, mv and cp commands
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1011 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/kernel.xml4
-rw-r--r--chapter08/lilo.xml6
2 files changed, 5 insertions, 5 deletions
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index c265ec668..cb88bc77c 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -17,8 +17,8 @@ following commands are run to build the kernel:</para>
<userinput>make bzImage &amp;&amp;</userinput>
<userinput>make modules &amp;&amp;</userinput>
<userinput>make modules_install &amp;&amp;</userinput>
-<userinput>cp arch/i386/boot/bzImage /boot/lfskernel &amp;&amp;</userinput>
-<userinput>cp System.map /boot</userinput></screen></para>
+<userinput>cp -f arch/i386/boot/bzImage /boot/lfskernel &amp;&amp;</userinput>
+<userinput>cp -f System.map /boot</userinput></screen></para>
<para>Note: the arch/i386/boot/bzImage path may vary on
different platforms.</para>
diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml
index 1596ce644..7a9458317 100644
--- a/chapter08/lilo.xml
+++ b/chapter08/lilo.xml
@@ -14,7 +14,7 @@ the host system or the LFS system).</para>
system:</para>
<para><screen><userinput>logout</userinput>
-<userinput>cp $LFS/boot/lfskernel /boot</userinput></screen></para>
+<userinput>cp -f $LFS/boot/lfskernel /boot</userinput></screen></para>
<para>The next step is adding an entry to /etc/lilo.conf so that we can
choose LFS when booting the computer:</para>
@@ -36,8 +36,8 @@ partition's designation.</para>
<para>The last step is syncing the host system lilo config. files with the
LFS system:</para>
-<para><screen><userinput>cp /etc/lilo.conf $LFS/etc &amp;&amp;</userinput>
-<userinput>cp &lt;kernel images&gt; $LFS/boot</userinput></screen></para>
+<para><screen><userinput>cp -f /etc/lilo.conf $LFS/etc &amp;&amp;</userinput>
+<userinput>cp -f &lt;kernel images&gt; $LFS/boot</userinput></screen></para>
<para>To find out which kernel images files are being used, look at the
/etc/lilo.conf file and find the lines starting with