aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/kernel-inst.xml
diff options
context:
space:
mode:
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>