lfs/chapter05/kernel-inst.xml
Marc Heerdink 420aa7ab59 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
2002-01-14 14:14:45 +00:00

22 lines
757 B
XML

<sect2>
<title>Installation of the Linux Kernel</title>
<para>We won't be compiling a new kernel image yet. We'll do that after we
have finished the installation of the basic system software in this
chapter. But because certain software needs the kernel header files, we're
going to unpack the kernel archive now and set it up so that we can
compile the packages that need the kernel.</para>
<para>The kernel configuration file is created by running the following
command:</para>
<para><screen><userinput>make mrproper &amp;&amp;
yes "" | make config &amp;&amp;
make dep &amp;&amp;
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>