aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/udev.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/udev.xml')
-rw-r--r--chapter06/udev.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index b9c124cde..e80e5b306 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -22,21 +22,24 @@
<sect2 role="installation">
<title>Installation of Udev</title>
-<para>By default, the permissions udev assigns to nodes are all uniform,
-being owned by user root, group root, and only accessible to root. As you
-can easily imagine, this isn't ideal. Give it a much better configuration
-by applying the following patch:</para>
-
-<screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch</userinput></screen>
-
-<para>Now compile Udev:</para>
+<para>First compile Udev:</para>
<screen><userinput>make udevdir=/dev</userinput></screen>
-<para>Finally, install it:</para>
+<para>Install it:</para>
<screen><userinput>make udevdir=/dev install</userinput></screen>
+<para>Ensure that Hotplug addresses Udev correctly:</para>
+
+<screen><userinput>ln -sf /sbin/udev /etc/hotplug.d/default/udev.hotplug</userinput></screen>
+
+<para>Udev's configuration is far from ideal by default, so we install our own
+configuration files here:</para>
+
+<screen><userinput>cp ../udev-config-1.permissions /etc/udev/permissions.d/00-lfs.permissions
+cp ../udev-config-1.rules /etc/udev/rules.d/00-lfs.rules</userinput></screen>
+
</sect2>