|
@@ -60,9 +60,49 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
|
|
|
|
|
|
<para>Prepare the package for compilation:</para>
|
|
<para>Prepare the package for compilation:</para>
|
|
|
|
|
|
|
|
+<!-- Note that "libdir=/usr/lib64" would be required for multilib. -->
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
<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>
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
@@ -131,8 +171,8 @@ install -m644 -v -D docs/writing_udev_rules/index.html \
|
|
<seglistitem>
|
|
<seglistitem>
|
|
<seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
|
|
<seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
|
|
firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd,
|
|
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>
|
|
<seg>/etc/udev</seg>
|
|
</seglistitem>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
</segmentedlist>
|
|
@@ -277,17 +317,6 @@ install -m644 -v -D docs/writing_udev_rules/index.html \
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</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">
|
|
<varlistentry id="write_cd_rules">
|
|
<term><command>write_cd_rules</command></term>
|
|
<term><command>write_cd_rules</command></term>
|
|
<listitem>
|
|
<listitem>
|
|
@@ -321,16 +350,6 @@ install -m644 -v -D docs/writing_udev_rules/index.html \
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</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">
|
|
<varlistentry id="etc-udev">
|
|
<term><filename class="directory">/etc/udev</filename></term>
|
|
<term><filename class="directory">/etc/udev</filename></term>
|
|
<listitem>
|
|
<listitem>
|