aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-10-02 20:04:59 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-10-02 20:04:59 +0000
commitaa29437f533aa9f3c28b7d4fab9263a3110a49c0 (patch)
treecf0a91bd72ad1f42fed91cb9e7838e38db3c1b3b
parentcbafb841580ab1d91319da2ead85ccc3a0247707 (diff)
Add a patch to fix Kmod's testsiute on 32-bit systems. Fixes #3191.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10010 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/kmod.xml4
-rw-r--r--patches.ent5
5 files changed, 25 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index e5c72a5f5..68d5144e0 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index d2c1893ae..33e2d9559 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -235,6 +235,10 @@
</listitem>
<listitem>
+ <para>&kmod-test_fix-patch;</para>
+ </listitem>
+
+ <listitem>
<para>&make-fixes-patch;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index bbf27a518..1ee768e9c 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -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>
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml
index f04f89303..18589a55a 100644
--- a/chapter06/kmod.xml
+++ b/chapter06/kmod.xml
@@ -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 \
diff --git a/patches.ent b/patches.ent
index b611adc73..7a46473ed 100644
--- a/patches.ent
+++ b/patches.ent
@@ -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">