浏览代码

Added the udev DESTDIR patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4276 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 21 年之前
父节点
当前提交
4b31e82b28
共有 4 个文件被更改,包括 17 次插入3 次删除
  1. 4 0
      chapter01/changelog.xml
  2. 6 0
      chapter03/patches.xml
  3. 6 2
      chapter05/udev.xml
  4. 1 1
      chapter06/udev.xml

+ 4 - 0
chapter01/changelog.xml

@@ -66,6 +66,7 @@ first a summary, then a detailed log.</para>
 <listitem><para>syslog-ng-1.6.5</para></listitem>
 <listitem><para>sysvinit-2.85-proclen-1.patch</para></listitem>
 <listitem><para>udev-035</para></listitem>
+<listitem><para>udev-035-DESTDIR-1.patch</para></listitem>
 <listitem><para>udev-config-1.permissions</para></listitem>
 <listitem><para>udev-config-1.rules</para></listitem>
 <listitem><para>util-linux-2.12a-kernel_headers-1.patch</para></listitem>
@@ -91,6 +92,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>October 12th, 2004 [jeremy]: Added the new DESTDIR patch
+developed by David Jensen to the udev instructions</para></listitem>
+
 <listitem><para>October 12th, 2004 [jeremy]: Upgraded to man-pages-1.69 and
 udev-035, which eliminates the need for the etcdir patch present for 032.</para></listitem>
 

+ 6 - 0
chapter03/patches.xml

@@ -132,6 +132,12 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Udev Destdir Patch - 1 KB:</term> <listitem>
+<para><ulink url="&patches-root;udev-&udev-version;-DESTDIR-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Util-Linux Sfdisk Patch - 1 KB:</term> <listitem>
 <para><ulink url="&patches-root;util-linux-&util-linux-version;-sfdisk-2.patch"/></para>

+ 6 - 2
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>

+ 1 - 1
chapter06/udev.xml

@@ -37,7 +37,7 @@ create device nodes in.</para></listitem>
 
 <para>Install it:</para>
 
-<screen><userinput>make install</userinput></screen>
+<screen><userinput>make udevdir=/dev install</userinput></screen>
 
 <para>Udev's configuration is far from ideal by default, so we install our own
 configuration files here:</para>