aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-05-12 18:09:38 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-05-12 18:09:38 +0000
commitb3156c992b0c3c7f690245e9d56086e0eb43edf7 (patch)
treebe74c5d238c9beabb6c3c113877cfa28a0d35a23
parent53419cc684e11fc60c6bc244c9493c16770ed0bc (diff)
Changed cp -r command to cp -a, and updated explanation accordingly
(plus a little grammar fix in -exp.xml) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@624 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter05/kernel-exp.xml10
-rw-r--r--chapter05/kernel-inst.xml4
2 files changed, 7 insertions, 7 deletions
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml
index e2cfb91cb..0e4df4569 100644
--- a/chapter05/kernel-exp.xml
+++ b/chapter05/kernel-exp.xml
@@ -27,12 +27,12 @@ needing later on.
</para>
<para>
-<userinput>cp -r ../src/linux/include/linux .</userinput> and
-<userinput>cp -r ../src/linux/include/asm .</userinput>: These
+<userinput>cp -a ../src/linux/include/linux .</userinput> and
+<userinput>cp -a ../src/linux/include/asm .</userinput>: These
commands copy the kernel headers in the <filename>$LFS/usr/include</filename>
-directory. For details on why we don't link to these directories (anymore)
-instead of copying them, please refer to the <filename>README</filename>
-file in the kernel source.
+directory. For details on why we don't link to these directories
+(anymore), and instead copy them, please refer to the
+<filename>README</filename> file in the kernel source.
</para>
</sect2>
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml
index 3b51c15c4..0ed696855 100644
--- a/chapter05/kernel-inst.xml
+++ b/chapter05/kernel-inst.xml
@@ -18,8 +18,8 @@ The kernel configuration file is created by running the following command:
<userinput>yes "" | make config &amp;&amp;</userinput>
<userinput>make dep &amp;&amp;</userinput>
<userinput>cd $LFS/usr/include &amp;&amp;</userinput>
- <userinput>cp -r ../src/linux/include/linux . &amp;&amp;</userinput>
- <userinput>cp -r ../src/linux/include/asm .</userinput>
+ <userinput>cp -a ../src/linux/include/linux . &amp;&amp;</userinput>
+ <userinput>cp -a ../src/linux/include/asm .</userinput>
</literallayout></blockquote>
</sect2>