aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kernel-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/kernel-inst.xml')
-rw-r--r--chapter06/kernel-inst.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/chapter06/kernel-inst.xml b/chapter06/kernel-inst.xml
new file mode 100644
index 000000000..340335526
--- /dev/null
+++ b/chapter06/kernel-inst.xml
@@ -0,0 +1,24 @@
+<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>ln -s /static/bin/pwd /bin/pwd &amp;&amp;
+make mrproper &amp;&amp;
+make include/linux/version.h &amp;&amp;
+make symlinks &amp;&amp;
+mkdir /usr/include/asm &amp;&amp;
+cp include/asm/* /usr/include/asm &amp;&amp;
+cp -R include/linux /usr/include &amp;&amp;
+touch /usr/include/linux/autoconf.h &amp;&amp;
+rm /bin/pwd</userinput></screen></para>
+
+</sect2>
+