diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4e325cf83..87e3830d5 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,16 @@ --> + + 2008-10-14 + + + [dj] - Modified udev instructions following upstream + recommendations. + + + + 2008-10-13 diff --git a/chapter06/udev.xml b/chapter06/udev.xml index 4a1b2c1ca..a2c1a84ec 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -60,8 +60,9 @@ ln -sv /proc/kcore /lib/udev/devices/core Prepare the package for compilation: -./configure --prefix=/ --includedir=/usr/include \ - --datarootdir=/usr/share +./configure --prefix=/usr \ + --exec-prefix= \ + --sysconfdir=/etc Compile the package: @@ -73,35 +74,17 @@ ln -sv /proc/kcore /lib/udev/devices/core make install - Recreate the library .so files - currently in the /lib directory in - /usr/lib, then remove the - originals: - -ln -sv ../../lib/$(readlink /lib/libudev.so) \ - /usr/lib/libudev.so -ln -sv ../../lib/$(readlink /lib/libvolume_id.so) \ - /usr/lib/libvolume_id.so -rm -v /lib/lib{udev,volume_id}.so - - Move the .pc files currently - in the /lib/pkgconfig directory to - their proper place in /usr/lib: - -mv -v /lib/pkgconfig/lib{udev,volume_id}.pc /usr/lib/pkgconfig -rmdir -v /lib/pkgconfig - Udev has to be configured in order to work properly, as its default configuration does not cover all devices. First install two extra rules files from Udev to help support device-mapper and RAID setups: install -m644 -v rules/packages/64-*.rules \ - /etc/udev/rules.d/ + /lib/udev/rules.d/ Now install a file to create symlinks for certain hand-held devices: install -m644 -v rules/packages/40-pilot-links.rules \ - /etc/udev/rules.d/ + /lib/udev/rules.d/