aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2009-06-29 03:24:56 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2009-06-29 03:24:56 +0000
commit3a34893e2782b8ae4ac70948369f0266ff673b84 (patch)
tree00d1299b9dc8c0e26ef32cc1a382f4129da0343a /chapter06
parent022886cd4502974b8e0ab526be2a236fd7e9128b (diff)
Upgrade udev to 143. Remove the testsuite dependencies from appendix C (since there is no udev testsuite anymore). Fixes #2425.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8947 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/udev.xml69
1 files changed, 44 insertions, 25 deletions
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 5216a95ac..cbf3251bc 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -60,9 +60,49 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<para>Prepare the package for compilation:</para>
+<!-- Note that "libdir=/usr/lib64" would be required for multilib. -->
<screen><userinput remap="configure">./configure --prefix=/usr \
- --exec-prefix= \
- --sysconfdir=/etc</userinput></screen>
+ --sysconfdir=/etc --sbindir=/sbin \
+ --with-rootlibdir=/lib --libexecdir=/lib/udev \
+ --disable-extras</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the new configure options</title>
+
+ <varlistentry>
+ <term><parameter>--with-rootlibdir=/lib</parameter></term>
+ <listitem>
+ <para>This controls where the <filename
+ class="libraryfile">libudev</filename> library is installed. The
+ library needs to be in <filename class="directory">/lib</filename>
+ because it's used by Udev at boot time, before <filename
+ class="directory">/usr</filename> might be available, and the default
+ --rootlibdir is <filename class="directory">/usr/lib</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <!-- Note that libexecdir *MUST* stay /lib/udev, even on a 64-bit
+ / multilib system where udev is compiled for 64-bit. Other
+ packages require this exact path; the udev maintainers have
+ said this is part of the udev API. -->
+ <varlistentry>
+ <term><parameter>--libexecdir=/lib/udev</parameter></term>
+ <listitem>
+ <para>This controls where Udev-internal rules and helper programs
+ are installed.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--disable-extras</parameter></term>
+ <listitem>
+ <para>This option prevents Udev from installing helper programs and
+ other extras which require more external libraries. These libraries
+ are not part of the base LFS system. See the Udev
+ <filename>README</filename> file for more information.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Compile the package:</para>
@@ -131,8 +171,8 @@ install -m644 -v -D docs/writing_udev_rules/index.html \
<seglistitem>
<seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd,
- usb_id, vol_id, write_cd_rules, and write_net_rules</seg>
- <seg>libudev and libvolume_id</seg>
+ usb_id, write_cd_rules, and write_net_rules</seg>
+ <seg>libudev</seg>
<seg>/etc/udev</seg>
</seglistitem>
</segmentedlist>
@@ -277,17 +317,6 @@ install -m644 -v -D docs/writing_udev_rules/index.html \
</listitem>
</varlistentry>
- <varlistentry id="vol_id">
- <term><command>vol_id</command></term>
- <listitem>
- <para>Provides Udev with the label and uuid of a
- filesystem</para>
- <indexterm zone="ch-system-udev vol_id">
- <primary sortas="b-vol_id">vol_id</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="write_cd_rules">
<term><command>write_cd_rules</command></term>
<listitem>
@@ -321,16 +350,6 @@ install -m644 -v -D docs/writing_udev_rules/index.html \
</listitem>
</varlistentry>
- <varlistentry id="libvolume_id">
- <term><command>libvolume_id</command></term>
- <listitem>
- <para>A library interface to read volume labels and uuids</para>
- <indexterm zone="ch-system-udev libvolume_id">
- <primary sortas="c-libvolume_id">libvolume_id</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="etc-udev">
<term><filename class="directory">/etc/udev</filename></term>
<listitem>