diff options
Diffstat (limited to 'chapter06/kmod.xml')
-rw-r--r-- | chapter06/kmod.xml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml index 0b84f5b3a..8c56463bd 100644 --- a/chapter06/kmod.xml +++ b/chapter06/kmod.xml @@ -43,18 +43,19 @@ <para>Prepare Kmod for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --bindir=/bin \ - --sysconfdir=/etc \ - --disable-manpages \ - --with-xz \ +<screen><userinput remap="configure">./configure --prefix=/usr \ + --bindir=/bin \ + --sysconfdir=/etc \ + --disable-manpages \ + --with-rootlibdir=/lib \ + --with-xz \ --with-zlib</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> <varlistentry> - <term><parameter>--with-*</parameter></term> + <term><parameter>--with-xz, --with-zlib</parameter></term> <listitem> <para>These options enable Kmod to handle compressed kernel modules.</para> </listitem> @@ -69,6 +70,14 @@ </listitem> </varlistentry> + <varlistentry> + <term><parameter>--with-rootlibdir=/lib</parameter></term> + <listitem> + <para>This option ensures different library related files are placed + in the correct directories.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> @@ -92,11 +101,6 @@ done ln -sv kmod /bin/lsmod</userinput></screen> - <para> Make sure that all libraries are in the correct directory: </para> - -<screen><userinput remap="install">mv -v /usr/lib/libkmod.so.* /lib -ln -svf ../../lib/$(readlink /usr/lib/libkmod.so) /usr/lib/libkmod.so</userinput></screen> - </sect2> <sect2 id="contents-kmod" role="content"> |