diff -Naur LFS-orig/chapter01/changelog.xml LFS/chapter01/changelog.xml
--- LFS-orig/chapter01/changelog.xml 2008-09-28 02:19:01.000000000 -0500
+++ LFS/chapter01/changelog.xml 2008-09-28 02:22:56.000000000 -0500
@@ -77,6 +77,9 @@
[dj] - Updated to texinfo-4.13.
+
+ [dj] - Updated to udev-126.
+
diff -Naur LFS-orig/chapter06/udev.xml LFS/chapter06/udev.xml
--- LFS-orig/chapter06/udev.xml 2008-08-17 15:52:48.000000000 -0500
+++ LFS/chapter06/udev.xml 2008-09-28 02:22:23.000000000 -0500
@@ -58,58 +58,35 @@
ln -sv /proc/self/fd/2 /lib/udev/devices/stderr
ln -sv /proc/kcore /lib/udev/devices/core
- Compile the package:
-
-make EXTRAS="`echo extras/*/`"
+ Prepare the package for compilation:
-
- The meaning of the make option:
-
-
- EXTRAS=...
-
- This builds the helper binaries that can aid in writing custom
- Udev rules.
-
-
+./configure --prefix=/ --includedir=/usr/include \
+ --datarootdir=/usr/share
+ Compile the package:
-
+make
To test the results, issue:
-make test
+make check
Note that the Udev testsuite will produce numerous messages in
the host system's logs. These are harmless and can be ignored.
Install the package:
-make DESTDIR=/ EXTRAS="`echo extras/*/`" install
-
-
- The meaning of the make parameter:
-
-
- DESTDIR=/
-
- This prevents the Udev build process from killing any
- udevd processes that may be running on the
- host system.
-
-
-
-
+make install
Udev has to be configured in order to work properly, as its default
configuration does not cover all devices. First install a few extra rules
files from Udev to help support device-mapper and RAID setups:
-install -m644 -v etc/udev/packages/64-*.rules \
+install -m644 -v rules/packages/64-*.rules \
/etc/udev/rules.d/
Now install a file to create symlinks for certain hand-held devices:
-install -m644 -v etc/udev/packages/40-pilot-links.rules \
+install -m644 -v rules/packages/40-pilot-links.rules \
/etc/udev/rules.d/40-pilot-links.rules