diff options
author | Bryan Kadzban <bryan@linuxfromscratch.org> | 2009-06-29 03:24:56 +0000 |
---|---|---|
committer | Bryan Kadzban <bryan@linuxfromscratch.org> | 2009-06-29 03:24:56 +0000 |
commit | 3a34893e2782b8ae4ac70948369f0266ff673b84 (patch) | |
tree | 00d1299b9dc8c0e26ef32cc1a382f4129da0343a | |
parent | 022886cd4502974b8e0ab526be2a236fd7e9128b (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
-rw-r--r-- | appendices/dependencies.xml | 2 | ||||
-rw-r--r-- | chapter01/changelog.xml | 11 | ||||
-rw-r--r-- | chapter06/udev.xml | 69 | ||||
-rw-r--r-- | packages.ent | 8 |
4 files changed, 60 insertions, 30 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index ce42393e6..d4b853efd 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -1441,7 +1441,7 @@ <segtitle>&testsuites;</segtitle> <seglistitem> - <seg>Findutils, Perl, and Sed</seg> + <seg>No testsuite available</seg> </seglistitem> </segmentedlist> diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7eb32c2ba..177baa4c5 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,6 +38,17 @@ --> <listitem> + <para>2009-06-28</para> + <itemizedlist> + <listitem> + <para>[bryan] - Upgrade to Udev-143. Remove the testsuite + dependencies from Appendix C. Fixes <ulink + url="&lfs-ticket-root;2425">#2425</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2009-06-23</para> <itemizedlist> <listitem> 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> diff --git a/packages.ent b/packages.ent index abea95fce..1a289aaae 100644 --- a/packages.ent +++ b/packages.ent @@ -503,12 +503,12 @@ <!ENTITY texinfo-ch6-du "21 MB"> <!ENTITY texinfo-ch6-sbu "0.2 SBU"> -<!ENTITY udev-version "142"> -<!ENTITY udev-size "424 KB"> +<!ENTITY udev-version "143"> +<!ENTITY udev-size "517 KB"> <!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> -<!ENTITY udev-md5 "3edc4cf383dccb06d866c5156d59ddd5"> +<!ENTITY udev-md5 "d15d1886c0bfa756969f25ddaecf34da"> <!ENTITY udev-home "&kernel;linux/utils/kernel/hotplug/udev.html"> -<!ENTITY udev-ch6-du "8.9 MB"> +<!ENTITY udev-ch6-du "12.8 MB"> <!ENTITY udev-ch6-sbu "0.2 SBU"> <!ENTITY udev-config "udev-config-20090523"> <!-- Scripts depend on this format --> |