Modified the Udev instructions so that the reader downloads and installs the version of Udev currently on the computer

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8816 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2011-01-13 23:21:34 +00:00
parent 1fe8978cbf
commit fe4bcdb06a
3 changed files with 46 additions and 22 deletions

View File

@ -277,7 +277,7 @@ $Date$
<!ENTITY apache-ant-version "1.8.1">
<!ENTITY dbus-version "1.2.24">
<!ENTITY hal-version "0.5.14">
<!ENTITY udev-version "151">
<!ENTITY udev-version "Installed LFS Version">
<!ENTITY DeviceKit-version "003">
<!ENTITY upower-version "0.9.1">
<!ENTITY sg3_utils-version "1.29">

View File

@ -4,12 +4,13 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2">
<!-- <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> -->
<!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/">
<!ENTITY udev-download-ftp " ">
<!ENTITY udev-md5sum "aeae0e6273dcbec246c3c1b9868ebed1">
<!ENTITY udev-size "498 KB">
<!ENTITY udev-buildsize "10 MB">
<!ENTITY udev-time "1.8 SBU">
<!-- <!ENTITY udev-md5sum "aeae0e6273dcbec246c3c1b9868ebed1"> -->
<!ENTITY udev-size "~500 KB">
<!ENTITY udev-buildsize "~10 MB">
<!ENTITY udev-time "~1.8 SBU">
]>
<sect1 id="udev" xreflabel="udev-&udev-version;">
@ -20,22 +21,38 @@
<date>$Date$</date>
</sect1info>
<title>udev-&udev-version;</title>
<title>Udev-&udev-version;</title>
<indexterm zone="udev">
<primary sortas="a-udev">udev</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to udev</title>
<title>Introduction to Udev</title>
<para><application>Udev</application> was indeed installed in LFS and there
is no reason to reinstall it unless you are going to install
<application>UPower</application>. This installation of Udev enables extra
features which includes <application>gudev</application>, a requirement for
<application>UPower</application>.</para>
is no reason to reinstall it unless you are going to install a package such
as <application>UPower</application>. This installation of
<application>Udev</application> enables extra features which includes
<application>gudev</application>, a requirement for
<application>UPower</application> and optionally used by other
packages.</para>
&lfs65_checked;
<para>Unlike any other package in the BLFS book, there is no set version
of <application>Udev</application> specified to download. Several version
updates to LFS and none to BLFS means there are probably many different
versions of <application>Udev</application> on the platforms that BLFS is
being built upon. Therefore, you should download and use the version of
<application>Udev</application> your computer currently uses. The BLFS
team has no experience updating (or reverting to an older version) the
<application>Udev</application> package <quote>on the fly.</quote> To
discover the version of <application>Udev</application> your computer
currently uses, issue <command>/sbin/udevadm --version</command>.</para>
<para>This package is known to build and work properly using an LFS-6.5
platform. (Using Udev-151)</para>
<para>&lfssvn_checked;20101029&lfssvn_checked2; (Using Udev-164)</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -45,9 +62,9 @@
<listitem>
<para>Download (FTP): <ulink url="&udev-download-ftp;"/></para>
</listitem>
<listitem>
<!-- <listitem>
<para>Download MD5 sum: &udev-md5sum;</para>
</listitem>
</listitem> -->
<listitem>
<para>Download size: &udev-size;</para>
</listitem>
@ -59,7 +76,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">udev Dependencies</bridgehead>
<bridgehead renderas="sect3">Udev Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="acl"/>,
@ -77,15 +94,17 @@
</sect2>
<sect2 role="installation">
<title>Installation of udev</title>
<title>Installation of Udev</title>
<para>Install <application>udev</application> by running the following
<para>Install <application>Udev</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc --sbindir=/sbin \
--with-rootlibdir=/lib --libexecdir=/lib/udev \
--docdir=/usr/share/doc/udev-&udev-version; &amp;&amp;
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--sbindir=/sbin \
--with-rootlibdir=/lib \
--libexecdir=/lib/udev \
--docdir=/usr/share/doc/udev-&udev-version; &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>

View File

@ -44,6 +44,11 @@
<listitem>
<para>January 14th, 2011</para>
<itemizedlist>
<listitem>
<para>[randy] - Modified the Udev instructions so that the reader
downloads and installs the version of Udev currently on the
computer.</para>
</listitem>
<listitem>
<para>[randy] - Removed the gir-repository dependency from the
libunique instructions.</para>