diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-23 22:38:49 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-23 22:38:49 +0000 |
commit | 45714a7d3b3c0851d598d966a2ce9790e177c6e1 (patch) | |
tree | 0a575e047b942b5606f2bb2b06d539649b180482 /chapter08 | |
parent | b58a7ebf15eb69dffdc4c5cba84422a1fd1bdc08 (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.xml | 4 | ||||
-rw-r--r-- | chapter08/lilo.xml | 6 |
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 &&</userinput> <userinput>make modules &&</userinput> <userinput>make modules_install &&</userinput> -<userinput>cp arch/i386/boot/bzImage /boot/lfskernel &&</userinput> -<userinput>cp System.map /boot</userinput></screen></para> +<userinput>cp -f arch/i386/boot/bzImage /boot/lfskernel &&</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 &&</userinput> -<userinput>cp <kernel images> $LFS/boot</userinput></screen></para> +<para><screen><userinput>cp -f /etc/lilo.conf $LFS/etc &&</userinput> +<userinput>cp -f <kernel images> $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 |