[lfs-book] r10010 - in trunk/BOOK: . chapter01 chapter03 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Tue Oct 2 13:05:03 PDT 2012


Author: matthew
Date: 2012-10-02 14:04:59 -0600 (Tue, 02 Oct 2012)
New Revision: 10010

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/kmod.xml
   trunk/BOOK/patches.ent
Log:
Add a patch to fix Kmod's testsiute on 32-bit systems. Fixes #3191.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-10-02 20:04:13 UTC (rev 10009)
+++ trunk/BOOK/chapter01/changelog.xml	2012-10-02 20:04:59 UTC (rev 10010)
@@ -40,6 +40,10 @@
       <para>2012-10-02</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Add a patch to allow Kmod's testsuite to pass on 32-bit
+          systems. Fixes <ulink url="&lfs-ticket-root;3191">#3191</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Upgrade to GCC-4.7.2. Fixes
           <ulink url="&lfs-ticket-root;3190">#3190</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	2012-10-02 20:04:13 UTC (rev 10009)
+++ trunk/BOOK/chapter01/whatsnew.xml	2012-10-02 20:04:59 UTC (rev 10010)
@@ -235,6 +235,10 @@
     </listitem>
 
     <listitem>
+      <para>&kmod-test_fix-patch;</para>
+    </listitem>
+
+    <listitem>
       <para>&make-fixes-patch;</para>
     </listitem>
 

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2012-10-02 20:04:13 UTC (rev 10009)
+++ trunk/BOOK/chapter03/patches.xml	2012-10-02 20:04:59 UTC (rev 10010)
@@ -108,6 +108,14 @@
     </varlistentry>
 
     <varlistentry>
+      <term>Kmod Testsuite Fix Patch - <token>&kmod-test_fix-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&kmod-test_fix-patch;"/></para>
+        <para>MD5 sum: <literal>&kmod-test_fix-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>Make Upstream Fixes Patch - <token>&make-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&make-fixes-patch;"/></para>

Modified: trunk/BOOK/chapter06/kmod.xml
===================================================================
--- trunk/BOOK/chapter06/kmod.xml	2012-10-02 20:04:13 UTC (rev 10009)
+++ trunk/BOOK/chapter06/kmod.xml	2012-10-02 20:04:59 UTC (rev 10010)
@@ -41,6 +41,10 @@
   <sect2 role="installation">
     <title>Installation of Kmod</title>
 
+    <para>Apply a patch to fix a testsuite issue on 32-bit machines:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&kmod-test_fix-patch;</userinput></screen>
+
     <para>Prepare Kmod for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2012-10-02 20:04:13 UTC (rev 10009)
+++ trunk/BOOK/patches.ent	2012-10-02 20:04:59 UTC (rev 10010)
@@ -62,6 +62,11 @@
 <!ENTITY kbd-fixes-patch-size "1.6 KB">
 
 
+<!ENTITY kmod-test_fix-patch "kmod-&kmod-version;-testsuite-1.patch">
+<!ENTITY kmod-test_fix-patch-md5 "ac03d29f6c2fcfd455c10618c3515d05">
+<!ENTITY kmod-test_fix-patch-size "1.3 KB">
+
+
 <!ENTITY make-fixes-patch "make-&make-version;-upstream_fixes-3.patch">
 <!ENTITY make-fixes-patch-md5 "95027ab5b53d01699845d9b7e1dc878d">
 <!ENTITY make-fixes-patch-size "10 KB">




More information about the lfs-book mailing list