[e5ca6b9d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
| 5 | %general-entities; |
---|
| 6 | ]> |
---|
| 7 | |
---|
| 8 | <sect1 id="ch-boot-kmod" role="wrap"> |
---|
| 9 | <?dbhtml filename="kmod.html"?> |
---|
| 10 | |
---|
| 11 | <title>Kmod-&kmod-version;</title> |
---|
| 12 | |
---|
| 13 | <indexterm zone="ch-boot-kmod"> |
---|
| 14 | <primary sortas="a-Kmod">Kmod</primary> |
---|
| 15 | <secondary>boot</secondary> |
---|
| 16 | </indexterm> |
---|
| 17 | |
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 19 | href="../../final-system/common/kmod.xml" |
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/> |
---|
| 21 | |
---|
| 22 | <sect2 role="installation"> |
---|
| 23 | <title>Installation of Kmod</title> |
---|
| 24 | |
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 26 | href="../../final-system/common/kmod.xml" |
---|
| 27 | xpointer="xpointer(//*[@os='a'])"/> |
---|
| 28 | |
---|
[e2e6aae] | 29 | <screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib -llzma" \ |
---|
| 30 | zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \ |
---|
| 31 | ./configure --prefix=/tools --bindir=/bin \ |
---|
[adab4c5] | 32 | --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib</userinput></screen> |
---|
[e5ca6b9d] | 33 | |
---|
[ee7300b] | 34 | <variablelist os="c"> |
---|
| 35 | <title>The meaning of the new configure options:</title> |
---|
| 36 | |
---|
| 37 | <varlistentry> |
---|
| 38 | <term><parameter>--with-zlib --with-xz</parameter></term> |
---|
| 39 | <listitem> |
---|
| 40 | <para>These allow the Kmod package to handle zlib and XZ |
---|
| 41 | compressed kernel modules.</para> |
---|
| 42 | </listitem> |
---|
| 43 | </varlistentry> |
---|
| 44 | |
---|
| 45 | </variablelist> |
---|
| 46 | |
---|
[e5ca6b9d] | 47 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 48 | href="../../final-system/common/kmod.xml" |
---|
| 49 | xpointer="xpointer(//*[@os='d'])"/> |
---|
| 50 | |
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 52 | href="../../final-system/common/kmod.xml" |
---|
| 53 | xpointer="xpointer(//*[@os='e'])"/> |
---|
| 54 | |
---|
| 55 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 56 | href="../../final-system/common/kmod.xml" |
---|
| 57 | xpointer="xpointer(//*[@os='g'])"/> |
---|
| 58 | |
---|
[ee7300b] | 59 | <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> |
---|
[e5ca6b9d] | 60 | |
---|
[011175b] | 61 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 62 | href="../../final-system/common/kmod.xml" |
---|
| 63 | xpointer="xpointer(//*[@os='i'])"/> |
---|
| 64 | |
---|
| 65 | <screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod |
---|
| 66 | ln -sv ../bin/kmod ${CLFS}/sbin/depmod |
---|
| 67 | ln -sv ../bin/kmod ${CLFS}/sbin/insmod |
---|
| 68 | ln -sv ../bin/kmod ${CLFS}/sbin/modprobe |
---|
| 69 | ln -sv ../bin/kmod ${CLFS}/sbin/modinfo |
---|
| 70 | ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen> |
---|
| 71 | |
---|
[e5ca6b9d] | 72 | </sect2> |
---|
| 73 | |
---|
| 74 | <sect2 role="content"> |
---|
| 75 | <title/> |
---|
| 76 | |
---|
| 77 | <para>Details on this package are located in <xref |
---|
| 78 | linkend="contents-kmod" role="."/></para> |
---|
| 79 | |
---|
| 80 | </sect2> |
---|
| 81 | |
---|
| 82 | </sect1> |
---|