Explorar el Código

Upgrade to Linux-2.6.28.2. Fixes #2316.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8793 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess hace 16 años
padre
commit
578f206eb1

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2009-02-01</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Upgraded to Linux-2.6.28.2.  Fixes
+          <ulink url="&lfs-ticket-root;2316">#2316</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgraded to IPRoute2-2.6.28.  Fixes
           <ulink url="&lfs-ticket-root;2324">#2324</ulink>.</para>

+ 4 - 0
chapter01/whatsnew.xml

@@ -220,6 +220,10 @@
       <para>&inetutils-man_pages-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&linux-header-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&readline-fixes-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -154,6 +154,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Linux Header Fix Patch - <token>&linux-header-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&linux-header-patch;"/></para>
+        <para>MD5 sum: <literal>&linux-header-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <!-- <varlistentry>
       <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
       <listitem>

+ 6 - 1
chapter05/linux-headers.xml

@@ -48,7 +48,12 @@
     by way of sanitizing various C header files that are shipped in the Linux
     kernel source tarball.</para>
 
-    <para>First, make sure there are no stale files and dependencies lying around
+    <para>Apply a patch to the Linux headers, to fix a bug that can cause
+    compilation issues for some userspace applications:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&linux-header-patch;</userinput></screen>
+
+    <para>Make sure there are no stale files and dependencies lying around
     from previous activity:</para>
 
 <screen><userinput remap="install">make mrproper</userinput></screen>

+ 6 - 1
chapter06/linux-headers.xml

@@ -46,7 +46,12 @@
     by way of sanitizing various C header files that are shipped in the Linux
     kernel source tarball.</para>
 
-    <para>First, make sure there are no stale files and dependencies lying around
+    <para>Apply a patch to the Linux headers, to fix a bug that can cause
+    compilation issues for some userspace applications:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&linux-header-patch;</userinput></screen>
+
+    <para>Make sure there are no stale files and dependencies lying around
     from previous activity:</para>
 
 <screen><userinput remap="install">make mrproper</userinput></screen>

+ 4 - 4
packages.ent

@@ -310,13 +310,13 @@
 <!ENTITY libtool-ch6-sbu "0.1 SBU">
 
 <!ENTITY linux-major-version "2.6">
-<!ENTITY linux-minor-version "27">
-<!ENTITY linux-patch-version "8">
+<!ENTITY linux-minor-version "28">
+<!ENTITY linux-patch-version "2">
 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
 <!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
-<!ENTITY linux-size "49,204 KB">
+<!ENTITY linux-size "51,462 KB">
 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;/linux-&linux-version;.tar.bz2">
-<!ENTITY linux-md5 "cbdc1b350ef79dd323b9aeda5cf7f1b6">
+<!ENTITY linux-md5 "8fce853ebfe658f0833d34bb1dc14d86">
 <!ENTITY linux-home "http://www.kernel.org/">
 <!ENTITY linux-ch8-du "350 - 500 MB">
 <!ENTITY linux-ch8-sbu "1.5 - 5.0 SBU">

+ 5 - 0
patches.ent

@@ -84,6 +84,11 @@
 <!ENTITY kbd-backspace-patch-size "12 KB">
 
 
+<!ENTITY linux-header-patch "linux-&linux-version;-header_fix-1.patch">
+<!ENTITY linux-header-patch-md5 "c22ced21d5eea7e9b9e76c200dd1b289">
+<!ENTITY linux-header-patch-size "1 KB">
+
+
 <!-- <!ENTITY mktemp-tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch">
 <!ENTITY mktemp-tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
 <!ENTITY mktemp-tempfile-patch-size "3.5 KB"> -->