diff options
Diffstat (limited to 'chapter08/kernel.xml')
-rw-r--r-- | chapter08/kernel.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 3c96b6437..de0e4b1df 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -47,7 +47,7 @@ <para>Prepare for compilation by running the following command:</para> -<screen><userinput>make mrproper</userinput></screen> +<screen><userinput remap="pre">make mrproper</userinput></screen> <para>This ensures that the kernel tree is absolutely clean. The kernel team recommends that this command be issued prior to each @@ -96,7 +96,7 @@ <para>Compile the kernel image and modules:</para> -<screen><userinput>make</userinput></screen> +<screen><userinput remap="make">make</userinput></screen> <para>If using kernel modules, an <filename>/etc/modprobe.conf</filename> file may be needed. Information pertaining to modules and kernel @@ -107,7 +107,7 @@ <para>Install the modules, if the kernel configuration uses them:</para> -<screen><userinput>make modules_install</userinput></screen> +<screen><userinput remap="install">make modules_install</userinput></screen> <para>After kernel compilation is complete, additional steps are required to complete the installation. Some files need to be copied to @@ -116,14 +116,14 @@ <para>The path to the kernel image may vary depending on the platform being used. The following command assumes an x86 architecture:</para> -<screen><userinput>cp -v arch/i386/boot/bzImage /boot/lfskernel-&linux-version;</userinput></screen> +<screen><userinput remap="install">cp -v arch/i386/boot/bzImage /boot/lfskernel-&linux-version;</userinput></screen> <para><filename>System.map</filename> is a symbol file for the kernel. It maps the function entry points of every function in the kernel API, as well as the addresses of the kernel data structures for the running kernel. Issue the following command to install the map file:</para> -<screen><userinput>cp -v System.map /boot/System.map-&linux-version;</userinput></screen> +<screen><userinput remap="install">cp -v System.map /boot/System.map-&linux-version;</userinput></screen> <para>The kernel configuration file <filename>.config</filename> produced by the <command>make menuconfig</command> step @@ -131,11 +131,11 @@ that was just compiled. It is a good idea to keep this file for future reference:</para> -<screen><userinput>cp -v .config /boot/config-&linux-version;</userinput></screen> +<screen><userinput remap="install">cp -v .config /boot/config-&linux-version;</userinput></screen> <para>Install the documentation for the Linux kernel:</para> -<screen><userinput>install -d /usr/share/doc/linux-&linux-version; +<screen><userinput remap="install">install -d /usr/share/doc/linux-&linux-version; cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen> <para>It is important to note that the files in the kernel source |