release-notes/devel/en_US Kernel.xml,1.3,1.4
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Tue Jul 18 20:14:09 UTC 2006
Author: pfrields
Update of /cvs/docs/release-notes/devel/en_US
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14365/en_US
Modified Files:
Kernel.xml
Log Message:
Fix badness in validation
Index: Kernel.xml
===================================================================
RCS file: /cvs/docs/release-notes/devel/en_US/Kernel.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Kernel.xml 12 Jul 2006 12:13:54 -0000 1.3
+++ Kernel.xml 18 Jul 2006 20:14:07 -0000 1.4
@@ -216,25 +216,19 @@
<code>~/rpmbuild/BUILD/kernel-<version>/linux-<version></code>.
</para>
</caution>
-
-
-
- <listitem>
+ <procedure>
+ <step>
<para>
Prepare a RPM package building environment in your home directory. Run
the following commands:
</para>
- <itemizedlist>
- <listitem override='none'>
<screen><![CDATA[su -c 'yum install fedora-rpmdevtools yum-utils'
fedora-buildrpmtree ]]></screen>
<para>
Enter the <code>root</code> password when prompted.
</para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
Enable the appropriate <code>source</code> repository definition. In the
case of the kernel released with Fedora Core 5, enable
@@ -246,26 +240,20 @@
<code>/etc/yum.repos.d/fedora-updates-testing.repo</code> as
appropriate.
</para>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
Download the <code>kernel-<version>.src.rpm</code> file:
</para>
- <itemizedlist>
- <listitem override='none'>
<screen><![CDATA[yumdownloader --source kernel ]]></screen>
<para>
Enter the <code>root</code> password when prompted.
</para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
Install <code>kernel-<version>.src.rpm</code> using the command:
</para>
- <itemizedlist>
- <listitem override='none'>
<screen><![CDATA[rpm -Uvh kernel-<version>.src.rpm ]]></screen>
<para>
This command writes the RPM contents into
@@ -280,13 +268,11 @@
extra space on the file system containing your home directory.
</para>
</tip>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
Prepare the kernel sources using the commands:
</para>
- <itemizedlist>
- <listitem override='none'>
<screen><![CDATA[cd ~/rpmbuild/SPECS rpmbuild -bp --target $(uname
-m) kernel-2.6.spec ]]></screen>
<para>
@@ -294,10 +280,8 @@
<code>${HOME}/rpmbuild/BUILD/kernel-<version>/</code>
directory.
</para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
The configurations for the specific kernels shipped in Fedora Core
<!--GetVal-macro not supported by the docbook formatter, but giving
@@ -307,8 +291,6 @@
following command to place the desired configuration file in the
proper place for building:
</para>
- <itemizedlist>
- <listitem override='none'>
<screen><![CDATA[cp configs/<desired-config-file> .config
]]></screen>
<para>
@@ -316,10 +298,8 @@
your current kernel configuration in the
<code>/lib/modules/<version>/build/.config</code> file.
</para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
Every kernel gets a name based on its version number. This is the
value the <code>uname -r</code> command displays. The kernel name is
@@ -330,8 +310,6 @@
compiled for a kernel with the correct name. To do this, you must
edit the kernel <code>Makefile</code> .
</para>
- <itemizedlist>
- <listitem override='none'>
<para>
For example, if the <code>uname -r</code> returns the string
<code>2.6.15-1.1948_FC5</code> , change the
@@ -345,23 +323,17 @@
<para>
That is, substitute everything from the final dash onward.
</para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
Run the following command:
</para>
- <itemizedlist>
- <listitem override='none'>
<screen><![CDATA[make oldconfig ]]></screen>
<para>
You may then proceed as usual.
</para>
- </listitem>
- </itemizedlist>
- </listitem>
-
+ </step>
+ </procedure>
</section>
<section>
@@ -392,9 +364,11 @@
<itemizedlist>
<listitem override='none'>
- <screen><![CDATA[obj-m := foo.o KDIR := /lib/modules/$(shell uname
- -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) M=$(PWD)
- modules ]]></screen>
+ <screen><![CDATA[obj-m := foo.o
+KDIR := /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+
+default: $(MAKE) -C $(KDIR) M=$(PWD) modules ]]></screen>
</listitem>
</itemizedlist>
More information about the Fedora-docs-commits
mailing list