aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2006-10-21 15:27:29 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2006-10-21 15:27:29 +0000
commit7e6fb4403585f0109ef8edfb8daecbcb9e0f07f4 (patch)
tree1138121feae66bea8ed9efbc873167c7d44da0f6 /chapter06
parent9a07261f1e3a643737835a82cae0c10b01713ab9 (diff)
Update to udev-config-20061021, install common Udev rules from the Udev tarball, and install udev-config documentation files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7833 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/udev.xml27
1 files changed, 22 insertions, 5 deletions
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 64301e619..86b4b7598 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -98,14 +98,31 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
</variablelist>
<para>Udev has to be configured in order to work properly, as it does
- not install any configuration files by default. Install the
- LFS-specific configuration files:</para>
+ not install any configuration files by default. First install the
+ commonly-used rules files provided by udev:</para>
-<screen><userinput>cp -v &udev-config;/[0-9]* /etc/udev/rules.d/</userinput></screen>
+<screen><userinput>cp -v etc/udev/rules.d/[0-9]* /etc/udev/rules.d/</userinput></screen>
- <para>Install the documentation that explains how to create Udev rules:</para>
+ <para>Now install the LFS-specific configuration files:</para>
-<screen><userinput>install -m644 -D -v docs/writing_udev_rules/index.html \
+<screen><userinput>cd &udev-config;
+make install</userinput></screen>
+
+ <para>Install the documentation that explains the LFS-specific rules
+ files:</para>
+
+<screen><userinput>make install-doc</userinput></screen>
+
+ <para>Install the documentation that explains the commonly-used Udev
+ rules files:</para>
+
+<screen><userinput>make install-extra-doc</userinput></screen>
+
+ <para>Install the documentation that explains how to create custom Udev
+ rules:</para>
+
+<screen><userinput>cd ..
+install -m644 -D -v docs/writing_udev_rules/index.html \
/usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
</sect2>