aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/util-linux.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
commit9dfc02ff38f26117daffe7d8b822ebb64a3fed04 (patch)
treec3ea0521973ac75238f6ab5f674d5b4fc4032df8 /chapter05/util-linux.xml
parent411ceb86b8150183a447f89b4789395bf16fddf0 (diff)
Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/util-linux.xml')
-rw-r--r--chapter05/util-linux.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/chapter05/util-linux.xml b/chapter05/util-linux.xml
index d5007d79a..7954b0f83 100644
--- a/chapter05/util-linux.xml
+++ b/chapter05/util-linux.xml
@@ -22,12 +22,16 @@
<sect2>
<title>Installation of Util-linux</title>
+<para>Util-linux has issues with the Linux 2.6 kernel series - fix these issues
+by applying the following patch:</para>
+
+<screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-kernel-dj-2.6-1.patch</userinput></screen>
+
<para>Util-linux doesn't use the freshly installed headers and libraries
from the /tools directory. This is fixed by altering the configure
script:</para>
-<screen><userinput>cp configure configure.backup
-sed "s@/usr/include@/tools/include@g" configure.backup > configure</userinput></screen>
+<screen><userinput>sed -i "s@/usr/include@/tools/include@g" configure</userinput></screen>
<para>Prepare Util-linux for compilation:</para>