From 3a34893e2782b8ae4ac70948369f0266ff673b84 Mon Sep 17 00:00:00 2001 From: Bryan Kadzban Date: Mon, 29 Jun 2009 03:24:56 +0000 Subject: 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 --- chapter06/udev.xml | 69 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 25 deletions(-) (limited to 'chapter06') 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 Prepare the package for compilation: + ./configure --prefix=/usr \ - --exec-prefix= \ - --sysconfdir=/etc + --sysconfdir=/etc --sbindir=/sbin \ + --with-rootlibdir=/lib --libexecdir=/lib/udev \ + --disable-extras + + + The meaning of the new configure options + + + --with-rootlibdir=/lib + + This controls where the libudev library is installed. The + library needs to be in /lib + because it's used by Udev at boot time, before /usr might be available, and the default + --rootlibdir is /usr/lib. + + + + + + --libexecdir=/lib/udev + + This controls where Udev-internal rules and helper programs + are installed. + + + + + --disable-extras + + 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 + README file for more information. + + + Compile the package: @@ -131,8 +171,8 @@ install -m644 -v -D docs/writing_udev_rules/index.html \ 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 - libudev and libvolume_id + usb_id, write_cd_rules, and write_net_rules + libudev /etc/udev @@ -277,17 +317,6 @@ install -m644 -v -D docs/writing_udev_rules/index.html \ - - vol_id - - Provides Udev with the label and uuid of a - filesystem - - vol_id - - - - write_cd_rules @@ -321,16 +350,6 @@ install -m644 -v -D docs/writing_udev_rules/index.html \ - - libvolume_id - - A library interface to read volume labels and uuids - - libvolume_id - - - - /etc/udev -- cgit v1.2.3-54-g00ecf