aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/udev.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/chapter05/udev.xml b/chapter05/udev.xml
index e4100630a..b13120178 100644
--- a/chapter05/udev.xml
+++ b/chapter05/udev.xml
@@ -29,13 +29,17 @@
<sect2 role="installation">
<title>Installation of Udev</title>
-<para>Compile Udev:</para>
+<para>The following patch makes Udev respect the DESTDIR variable:</para>
+
+<screen><userinput>patch -Np1 -i ../udev-&udev-version;-DESTDIR-1.patch</userinput></screen>
+
+<para>Now compile Udev:</para>
<screen><userinput>make prefix=/tools udevdir=/dev</userinput></screen>
<para>Install it:</para>
-<screen><userinput>make prefix=/tools install</userinput></screen>
+<screen><userinput>make DESTDIR=/tools udevdir=/dev install</userinput></screen>
<para>Udev's configuration is far from ideal by default, so we install our own
configuration files here:</para>