diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-10-13 03:15:56 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-10-13 03:15:56 +0000 |
commit | 4b31e82b2853d5e3889c02591839c40e577da5a2 (patch) | |
tree | f283e43f7d657c7ad19848febedad503486b190f /chapter05 | |
parent | 3a2442d1fbfdcf152518fe6211d1e8e531ad34f7 (diff) |
Added the udev DESTDIR patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4276 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/udev.xml | 8 |
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> |