source: general/sysutils/udev.xml@ c50cc901

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c50cc901 was fee14fb, checked in by Krejzi <krejzi@…>, 12 years ago

Added BlueZ 4.101

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

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