source: archive/udev.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.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 <!-- <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> -->
8 <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/">
9 <!ENTITY udev-download-ftp " ">
10 <!-- <!ENTITY udev-md5sum "aeae0e6273dcbec246c3c1b9868ebed1"> -->
11 <!ENTITY udev-size "~500 KB">
12 <!ENTITY udev-buildsize "~10 MB">
13 <!ENTITY udev-time "~1.8 SBU">
14]>
15
16<sect1 id="udev" xreflabel="udev-&udev-version;">
17 <?dbhtml filename="udev.html"?>
18
19
20 <title>Udev-&udev-version;</title>
21
22 <indexterm zone="udev">
23 <primary sortas="a-udev">udev</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Udev</title>
28
29 <note><para>If you installed LFS from SVN-20120719, LFS-7.2, or later,
30 use <xref linkend='udev-extras'/> instead of this page.</para></note>
31
32 <para><application>Udev</application> was indeed installed in LFS and there
33 is no reason to reinstall it unless you are going to install a package such
34 as <application>UPower</application>. This installation of
35 <application>Udev</application> enables extra features which includes
36 <application>gudev</application>, a requirement for
37 <application>UPower</application> and optionally used by other
38 packages.</para>
39
40 <para>Unlike any other package in the BLFS book, there is no set version
41 of <application>Udev</application> specified to download. Several version
42 updates to LFS and none to BLFS means there are probably many different
43 versions of <application>Udev</application> on the platforms that BLFS is
44 being built upon. Therefore, you should download and use the version of
45 <application>Udev</application> your computer currently uses. The BLFS
46 team has no experience updating (or reverting to an older version) the
47 <application>Udev</application> package <quote>on the fly.</quote> To
48 discover the version of <application>Udev</application> your computer
49 currently uses, issue <command>/sbin/udevadm --version</command>.</para>
50
51 <para>You should look at the LFS instructions for the version you used, to
52 check that you are using the correct testfiles (for some versions, this was a
53 separate tarball, extracted in the udev directory with --strip-components=1)
54 and to compare the configure options you are about to use against those which
55 you used to build the version you are running (sometimes, the options change).
56 </para>
57
58 <para>This package is known to build and work properly using an LFS-7.0
59 platform. (Using Udev-173)</para>
60
61 <para>This package is known to build and work properly using an LFS-7.1
62 platform. (Using Udev-182)</para>
63
64 <bridgehead renderas="sect3">Package Information</bridgehead>
65 <itemizedlist spacing="compact">
66 <listitem>
67 <para>Download (HTTP): <ulink url="&udev-download-http;"/></para>
68 </listitem>
69 <listitem>
70 <para>Download (FTP): <ulink url="&udev-download-ftp;"/></para>
71 </listitem>
72 <!-- <listitem>
73 <para>Download MD5 sum: &udev-md5sum;</para>
74 </listitem> -->
75 <listitem>
76 <para>Download size: &udev-size;</para>
77 </listitem>
78 <listitem>
79 <para>Estimated disk space required: &udev-buildsize;</para>
80 </listitem>
81 <listitem>
82 <para>Estimated build time: &udev-time;</para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">Udev Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required"><xref linkend="acl"/>,
90 <xref linkend="glib2"/>,
91 <xref linkend="gperf"/>,
92 <xref linkend="pciutils"/>, and
93 <xref linkend="usbutils"/></para>
94
95 <bridgehead renderas="sect4">Optional</bridgehead>
96 <para role="optional"><xref linkend="gobject-introspection"/></para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/udev"/></para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of Udev</title>
105
106 <para>Install <application>Udev</application> by running the following
107 commands:</para>
108
109<screen><userinput>./configure --prefix=/usr \
110 --sysconfdir=/etc \
111 --sbindir=/sbin \
112 --with-rootlibdir=/lib \
113 --libexecdir=/lib \
114 --with-systemdsystemunitdir=no \
115 --disable-introspection \
116 --docdir=/usr/share/doc/&lt;udev-&udev-version;&gt; &amp;&amp;
117make</userinput></screen>
118
119 <para>To test the results, issue: <command>make check</command>.</para>
120
121 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/gtk-doc-rebuild.xml"/>
132
133 <para><option>--disable-introspection</option>: Remove this option if
134 the optional dependency gobject-introspection is installed.</para>
135
136 <para><option>--with-systemdsystemunitdir=no</option>: systemd is not used
137 in (B)LFS.</para>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <para>A list of the installed files, along with their short descriptions
145 can be found at
146 <ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
147
148 <para>The following is some additional content information.</para>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Library</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>findkeyboards, firmware, input_id,
157 keyboard-force-release.sh, keymap, modem-modeswitch, pci-db, udev-acl,
158 usb-db, and v4l_id</seg>
159 <seg>libgudev-1.0.so</seg>
160 <seg>/lib/udev/keymaps/force-release,
161 /usr/{include/gudev-1.0/gudev,share/{doc/udev-&udev-version;,
162 gtk-doc/html/gudev}}</seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="keymap">
172 <term><command>keymap</command></term>
173 <listitem>
174 <para>configures computer model specific key mappings.</para>
175 <indexterm zone="udev keymap">
176 <primary sortas="b-keymap">keymap</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="libgudev-1.0">
182 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
183 <listitem>
184 <para>is a GObject-based wrapper library for libudev.</para>
185 <indexterm zone="udev libgudev-1.0">
186 <primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.