aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/udev.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/udev.xml')
-rw-r--r--chapter06/udev.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 38ef9e3bf..d6bf3913c 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -23,7 +23,11 @@
<sect2 role="installation">
<title>Installation of Udev</title>
-<para>First compile Udev:</para>
+<para>Patch Udev to allow installation of udev.conf to $PREFIX/etc:</para>
+
+<screen><userinput>patch -Np1 -i ../udev-&udev-version;-etcdir-2.patch</userinput></screen>
+
+<para>Compile Udev:</para>
<screen><userinput>make udevdir=/dev</userinput></screen>
@@ -37,7 +41,7 @@ create device nodes in.</para></listitem>
<para>Install it:</para>
-<screen><userinput>make udevdir=/dev install</userinput></screen>
+<screen><userinput>make install</userinput></screen>
<para>Udev's configuration is far from ideal by default, so we install our own
configuration files here:</para>