source: BOOK/boot/multilib/kmod.xml @ 76b06f6

Last change on this file since 76b06f6 was 76b06f6, checked in by William Harrington <kb0iic@…>, 11 years ago

Prepare for CLFS-2.0.0 release.

  • Property mode set to 100644
File size: 2.1 KB
Line 
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
29<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
30    --bindir=/bin --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31    --libdir=/tools/lib64</userinput></screen>
32
33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34    href="../../final-system/common/kmod.xml"
35    xpointer="xpointer(//*[@os='d'])"/>
36
37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38    href="../../final-system/common/kmod.xml"
39    xpointer="xpointer(//*[@os='e'])"/>
40
41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42    href="../../final-system/common/kmod.xml"
43    xpointer="xpointer(//*[@os='g'])"/>
44
45<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
46
47<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
48href="../../final-system/common/kmod.xml"
49xpointer="xpointer(//*[@os='i'])"/>
50
51<screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
52ln -sv ../bin/kmod ${CLFS}/sbin/depmod
53ln -sv ../bin/kmod ${CLFS}/sbin/insmod
54ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
55ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
56ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
57
58  </sect2>
59
60  <sect2 role="content">
61    <title/>
62
63    <para>Details on this package are located in <xref
64    linkend="contents-kmod" role="."/></para>
65
66  </sect2>
67
68</sect1>
Note: See TracBrowser for help on using the repository browser.