diff options
Diffstat (limited to 'chapter05/util-linux.xml')
-rw-r--r-- | chapter05/util-linux.xml | 8 |
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> |