[c9354ea0] | 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 |
|
---|
[fe4bcdb] | 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/">
|
---|
[c9354ea0] | 9 | <!ENTITY udev-download-ftp " ">
|
---|
[fe4bcdb] | 10 | <!-- <!ENTITY udev-md5sum "aeae0e6273dcbec246c3c1b9868ebed1"> -->
|
---|
| 11 | <!ENTITY udev-size "~500 KB">
|
---|
| 12 | <!ENTITY udev-buildsize "~10 MB">
|
---|
| 13 | <!ENTITY udev-time "~1.8 SBU">
|
---|
[c9354ea0] | 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 |
|
---|
[fe4bcdb] | 24 | <title>Udev-&udev-version;</title>
|
---|
[c9354ea0] | 25 |
|
---|
| 26 | <indexterm zone="udev">
|
---|
| 27 | <primary sortas="a-udev">udev</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[fe4bcdb] | 31 | <title>Introduction to Udev</title>
|
---|
[c9354ea0] | 32 |
|
---|
| 33 | <para><application>Udev</application> was indeed installed in LFS and there
|
---|
[fe4bcdb] | 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 |
|
---|
[4a40984] | 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 |
|
---|
[55b07cb] | 62 | <para>This package is known to build and work properly using an LFS-7.1
|
---|
| 63 | platform. (Using Udev-182)</para>
|
---|
| 64 |
|
---|
[c9354ea0] | 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>
|
---|
[fe4bcdb] | 73 | <!-- <listitem>
|
---|
[c9354ea0] | 74 | <para>Download MD5 sum: &udev-md5sum;</para>
|
---|
[fe4bcdb] | 75 | </listitem> -->
|
---|
[c9354ea0] | 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 |
|
---|
[fe4bcdb] | 87 | <bridgehead renderas="sect3">Udev Dependencies</bridgehead>
|
---|
[c9354ea0] | 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[06f2ffb] | 90 | <para role="required"><xref linkend="acl"/>,
|
---|
[476618b] | 91 | <xref linkend="glib2"/>,
|
---|
[06f2ffb] | 92 | <xref linkend="gperf"/>,
|
---|
[476618b] | 93 | <xref linkend="pciutils"/>, and
|
---|
[c9354ea0] | 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">
|
---|
[fe4bcdb] | 105 | <title>Installation of Udev</title>
|
---|
[c9354ea0] | 106 |
|
---|
[fe4bcdb] | 107 | <para>Install <application>Udev</application> by running the following
|
---|
[c9354ea0] | 108 | commands:</para>
|
---|
| 109 |
|
---|
[ccffe1c3] | 110 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 111 | --sysconfdir=/etc \
|
---|
| 112 | --sbindir=/sbin \
|
---|
| 113 | --with-rootlibdir=/lib \
|
---|
[473a13d] | 114 | --libexecdir=/lib \
|
---|
[ccffe1c3] | 115 | --with-systemdsystemunitdir=no \
|
---|
| 116 | --disable-introspection \
|
---|
[473a13d] | 117 | --docdir=/usr/share/doc/<udev-&udev-version;> &&
|
---|
[c9354ea0] | 118 | make</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 |
|
---|
[e05cd03f] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c9354ea0] | 132 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 133 |
|
---|
[ccffe1c3] | 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>
|
---|
[c9354ea0] | 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
[49b9df3c] | 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 |
|
---|
[c9354ea0] | 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
[49b9df3c] | 153 | <segtitle>Installed Library</segtitle>
|
---|
[c9354ea0] | 154 | <segtitle>Installed Directories</segtitle>
|
---|
| 155 |
|
---|
| 156 | <seglistitem>
|
---|
[fee14fb] | 157 | <seg>findkeyboards, firmware, input_id,
|
---|
[0cda5cf] | 158 | keyboard-force-release.sh, keymap, modem-modeswitch, pci-db, udev-acl,
|
---|
| 159 | usb-db, and v4l_id</seg>
|
---|
[49b9df3c] | 160 | <seg>libgudev-1.0.so</seg>
|
---|
[0cda5cf] | 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>
|
---|
[c9354ea0] | 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 |
|
---|
[49b9df3c] | 172 | <varlistentry id="keymap">
|
---|
| 173 | <term><command>keymap</command></term>
|
---|
[c9354ea0] | 174 | <listitem>
|
---|
[49b9df3c] | 175 | <para>configures computer model specific key mappings.</para>
|
---|
| 176 | <indexterm zone="udev keymap">
|
---|
| 177 | <primary sortas="b-keymap">keymap</primary>
|
---|
[c9354ea0] | 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>
|
---|