lfs/chapter05/kernel-inst.xml
Gerard Beekmans 0d181c4947 Changed cp -R to cp -a (we may as well preserve the symlinks and
ownerships inside the 'linux' directory like we do with the files inside
the 'asm' directory)


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@652 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-05-23 01:34:43 +00:00

28 lines
926 B
XML

<sect2>
<title>Installation of 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 need the kernel header files, we're
going to unpack the kernel archive now and set it up so that we can
compile package that need the kernel.
</para>
<para>
The kernel configuration file is created by running the following command:
</para>
<blockquote><literallayout>
<userinput>make mrproper &amp;&amp;</userinput>
<userinput>yes "" | make config &amp;&amp;</userinput>
<userinput>make dep &amp;&amp;</userinput>
<userinput>cd $LFS/usr/include &amp;&amp;</userinput>
<userinput>cp -a ../src/linux/include/linux . &amp;&amp;</userinput>
<userinput>mkdir asm &amp;&amp;</userinput>
<userinput>cp -a ../src/linux/include/asm/* asm</userinput>
</literallayout></blockquote>
</sect2>