aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/kernel-inst.xml
diff options
context:
space:
mode:
authorMarc Heerdink <gimli@linuxfromscratch.org>2002-01-14 14:14:45 +0000
committerMarc Heerdink <gimli@linuxfromscratch.org>2002-01-14 14:14:45 +0000
commit420aa7ab59731a96a5be110025ffd661697e5ba3 (patch)
tree0d50a3296b96d76a7b83b4f3606c0d46c68165f7 /chapter05/kernel-inst.xml
parent6c999f212b8e301ab603a248b36a98810a53aa4c (diff)
The installation of the kernel headers in chapter 5 was changed so having the
sources in a directory other than /usr/src/linux won't break the cp. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1430 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/kernel-inst.xml')
-rw-r--r--chapter05/kernel-inst.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml
index 4aca35b19..89fb578f0 100644
--- a/chapter05/kernel-inst.xml
+++ b/chapter05/kernel-inst.xml
@@ -13,12 +13,9 @@ command:</para>
<para><screen><userinput>make mrproper &amp;&amp;
yes "" | make config &amp;&amp;
make dep &amp;&amp;
-cd $LFS/usr/include &amp;&amp;
-cp -a ../src/linux/include/linux . &amp;&amp;
-chown -R root.root $LFS/usr/include/linux &amp;&amp;
-mkdir asm &amp;&amp;
-cp -a ../src/linux/include/asm/* asm &amp;&amp;
-chown -R root.root $LFS/usr/include/asm</userinput></screen></para>
+cp -HR include/asm $LFS/usr/include &amp;&amp;
+cp -HR include/linux $LFS/usr/include &amp;&amp;
+chown -R root.root $LFS/usr/include</userinput></screen></para>
</sect2>