RCS file: /srv/cvs/cvsroot2/mybook/packages.ent,v
retrieving revision 1.2
diff -u -r1.2 packages.ent
|
|
|
301 | 301 | |
302 | 302 | <!ENTITY linux-major-version "2.6"> |
303 | 303 | <!ENTITY linux-minor-version "24"> |
304 | | <!ENTITY linux-patch-version ""> |
305 | | <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">--> |
306 | | <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> |
| 304 | <!ENTITY linux-patch-version "1"> |
| 305 | <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> |
| 306 | <!ENTITY linux-base-version "&linux-major-version;.&linux-minor-version;"> |
307 | 307 | <!ENTITY linux-size "45,642 KB"> |
308 | | <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;/linux-&linux-version;.tar.bz2"> |
| 308 | <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;/linux-&linux-base-version;.tar.bz2"> |
309 | 309 | <!ENTITY linux-md5 "3f23ad4b69d0a552042d1ed0f4399857"> |
310 | 310 | <!ENTITY linux-home "http://www.kernel.org/"> |
311 | 311 | <!ENTITY linux-ch8-du "350 - 450 MB"> |
RCS file: /srv/cvs/cvsroot2/mybook/patches.ent,v
retrieving revision 1.2
diff -u -r1.2 patches.ent
|
|
|
68 | 68 | <!ENTITY kbd-gcc4_fixes-patch-size "1.4 KB"> |
69 | 69 | |
70 | 70 | |
| 71 | <!ENTITY linux-kernel-patch "patch-&linux-version;.bz2"> |
| 72 | <!ENTITY linux-kernel-patch-md5 "86d55d5080217b2e79e0fff227218cd1"> |
| 73 | <!ENTITY linux-kernel-patch-size "16.6 KB"> |
| 74 | |
| 75 | |
71 | 76 | <!ENTITY mktemp-tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch"> |
72 | 77 | <!ENTITY mktemp-tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19"> |
73 | 78 | <!ENTITY mktemp-tempfile-patch-size "3.5 KB"> |
RCS file: /srv/cvs/cvsroot2/mybook/chapter03/patches.xml,v
retrieving revision 1.2
diff -u -r1.2 patches.xml
|
|
|
131 | 131 | </varlistentry> |
132 | 132 | |
133 | 133 | <varlistentry> |
| 134 | <term>Linux Kernel Patch - <token>&linux-kernel-patch-size;</token>:</term> |
| 135 | <listitem> |
| 136 | <para>Download: <ulink url="&kernel;/pub/linux/kernel/v2.6/&linux-kernel-patch;"/></para> |
| 137 | <para>MD5 sum: <literal>&linux-kernel-patch-md5;</literal></para> |
| 138 | </listitem> |
| 139 | </varlistentry> |
| 140 | |
| 141 | <varlistentry> |
134 | 142 | <term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term> |
135 | 143 | <listitem> |
136 | 144 | <para>Download: <ulink url="&patches-root;&mktemp-tempfile-patch;"/></para> |
RCS file: /srv/cvs/cvsroot2/mybook/chapter05/linux-headers.xml,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 linux-headers.xml
|
|
|
48 | 48 | by way of sanitizing various C header files that are shipped in the Linux |
49 | 49 | kernel source tarball.</para> |
50 | 50 | |
| 51 | <para>First, upgrade the &linux-base-version; source to the recent patch level:</para> |
| 52 | |
| 53 | <screen><userinput remap="install">bzcat ../&linux-kernel-patch; | patch -Np1</userinput></screen> |
| 54 | |
51 | 55 | <para>Install the header files:</para> |
52 | 56 | |
53 | 57 | <screen><userinput remap="install">make mrproper |
RCS file: /srv/cvs/cvsroot2/mybook/chapter06/linux-headers.xml,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 linux-headers.xml
|
|
|
46 | 46 | by way of sanitizing various C header files that are shipped in the Linux |
47 | 47 | kernel source tarball.</para> |
48 | 48 | |
| 49 | <para>First, upgrade the &linux-base-version; source to the recent patch level:</para> |
| 50 | |
| 51 | <screen><userinput remap="install">bzcat ../&linux-kernel-patch; | patch -Np1</userinput></screen> |
| 52 | |
49 | 53 | <para>Install the header files:</para> |
50 | 54 | |
51 | 55 | <screen><userinput remap="install">make mrproper |
RCS file: /srv/cvs/cvsroot2/mybook/chapter08/kernel.xml,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 kernel.xml
|
|
|
45 | 45 | in the kernel source tree for alternative methods to the way this book |
46 | 46 | configures the kernel.</para> |
47 | 47 | |
| 48 | <para>First, upgrade the &linux-base-version; source to the recent patch level:</para> |
| 49 | |
| 50 | <screen><userinput remap="install">bzcat ../&linux-kernel-patch; | patch -Np1</userinput></screen> |
| 51 | |
48 | 52 | <para>Prepare for compilation by running the following command:</para> |
49 | 53 | |
50 | 54 | <screen><userinput remap="pre">make mrproper</userinput></screen> |