|
@@ -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>
|