aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kernel-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-25 00:21:12 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-25 00:21:12 +0000
commit1987d724ce4059e12b51962be50c59d30a4a148d (patch)
tree1c165b6c8cf19ed18668659078a71692e228b59e /chapter06/kernel-inst.xml
parent5e2cb652195321c7f63b5d22077e583b75118178 (diff)
second set of commits for keep-chap5-chap6-seperate
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>
+