aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/udev.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/udev.xml')
-rw-r--r--chapter06/udev.xml27
1 files changed, 5 insertions, 22 deletions
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</userinput></screen>
<para>Prepare the package for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/ --includedir=/usr/include \
- --datarootdir=/usr/share</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --exec-prefix= \
+ --sysconfdir=/etc</userinput></screen>
<para>Compile the package:</para>
@@ -73,35 +74,17 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<screen><userinput remap="install">make install</userinput></screen>
- <para>Recreate the library <filename class="extension">.so</filename> files
- currently in the <filename class="directory">/lib</filename> directory in
- <filename class="directory">/usr/lib</filename>, then remove the
- originals:</para>
-
-<screen><userinput remap="install">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</userinput></screen>
-
- <para>Move the <filename class="extension">.pc</filename> files currently
- in the <filename class="directory">/lib/pkgconfig</filename> directory to
- their proper place in <filename class="directory">/usr/lib</filename>:</para>
-
-<screen><userinput remap="install">mv -v /lib/pkgconfig/lib{udev,volume_id}.pc /usr/lib/pkgconfig
-rmdir -v /lib/pkgconfig</userinput></screen>
-
<para>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:</para>
<screen><userinput remap="install">install -m644 -v rules/packages/64-*.rules \
- /etc/udev/rules.d/</userinput></screen>
+ /lib/udev/rules.d/</userinput></screen>
<para>Now install a file to create symlinks for certain hand-held devices:</para>
<screen><userinput remap="install">install -m644 -v rules/packages/40-pilot-links.rules \
- /etc/udev/rules.d/</userinput></screen>
+ /lib/udev/rules.d/</userinput></screen>
<!-- There are more files available in the packages/ directory, if we want
to consider using them. Most are probably irrelevant to LFS though.