source: archive/udev.xml@ 90cb5d6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 90cb5d6 was adf6dd9a, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Archive unneeded packages: pkgconfig,

bc, ibus, udev, slib, gamin, and notify-python

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12015 af4574ff-66df-0310-9fd7-8a98e5e911e0

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