r670 - in trunk/BOOK: boot/64 boot/common boot/multilib final-system/common final-system/multilib introduction/common the-end

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Nov 9 03:15:58 PST 2005


Author: manuel
Date: 2005-11-09 04:15:53 -0700 (Wed, 09 Nov 2005)
New Revision: 670

Modified:
   trunk/BOOK/boot/64/udev.xml
   trunk/BOOK/boot/common/udev.xml
   trunk/BOOK/boot/multilib/udev.xml
   trunk/BOOK/final-system/common/udev.xml
   trunk/BOOK/final-system/multilib/udev.xml
   trunk/BOOK/introduction/common/changelog.xml
   trunk/BOOK/the-end/reboot.xml
Log:
Stop Udev from killing udevd processes on the system and removed udevdir=/dev.

Modified: trunk/BOOK/boot/64/udev.xml
===================================================================
--- trunk/BOOK/boot/64/udev.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/boot/64/udev.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -28,7 +28,8 @@
     href="../common/udev.xml"
     xpointer="xpointer(//*[@os='c'])"/>
 
-<screen><userinput>make CROSS="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" udevdir=/dev</userinput></screen>
+<screen><userinput>make CROSS="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
+    EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"

Modified: trunk/BOOK/boot/common/udev.xml
===================================================================
--- trunk/BOOK/boot/common/udev.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/boot/common/udev.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -28,7 +28,8 @@
     href="../../final-system/common/udev.xml"
     xpointer="xpointer(//*[@os='c'])"/>
 
-<screen><userinput>make CROSS="${LFS_TARGET}-" CC="${CC}" LD="${CC}"  udevdir=/dev</userinput></screen>
+<screen><userinput>make CROSS="${LFS_TARGET}-" CC="${CC}" LD="${CC}" \
+    EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/udev.xml"
@@ -38,7 +39,7 @@
     href="../../final-system/common/udev.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
-<screen os="aa"><userinput>make DESTDIR=${LFS} udevdir=/dev install</userinput></screen>
+<screen os="aa"><userinput>make DESTDIR=${LFS} EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/udev.xml"

Modified: trunk/BOOK/boot/multilib/udev.xml
===================================================================
--- trunk/BOOK/boot/multilib/udev.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/boot/multilib/udev.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -28,7 +28,8 @@
     href="../common/udev.xml"
     xpointer="xpointer(//*[@os='c'])"/>
 
-<screen><userinput>make CROSS="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" udevdir=/dev</userinput></screen>
+<screen><userinput>make CROSS="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
+    EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"

Modified: trunk/BOOK/final-system/common/udev.xml
===================================================================
--- trunk/BOOK/final-system/common/udev.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/final-system/common/udev.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -37,16 +37,17 @@
 
     <para os="c">Compile the package:</para>
 
-<screen><userinput>make EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>
+<screen><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
 
     <variablelist os="d">
       <title>The meaning of the make parameter:</title>
 
       <varlistentry>
-      <term><parameter>udevdir=/dev</parameter></term>
+      <term><parameter>EXTRAS="extras/firmware extras/run_directory"</parameter></term>
         <listitem>
-          <para>This tells <command>udev</command> in which directory
-          devices nodes are to be created.</para>
+          <para>This builds the <command>udev_run_devd</command> and
+          <command>udev_run_hotplugd</command> binaries, which are required for
+          correct handling of hotpluggable devices.</para>
         </listitem>
       </varlistentry>
 
@@ -57,8 +58,21 @@
 
     <para os="f">Install the package:</para>
 
-<screen os="g"><userinput>make EXTRAS="extras/firmware extras/run_directory" udevdir=/dev install</userinput></screen>
+<screen os="g"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
 
+    <variablelist os="g1">
+      <title>The meaning of the make parameter:</title>
+
+      <varlistentry>
+      <term><parameter>DESTDIR=/</parameter></term>
+        <listitem>
+          <para>This prevents the Udev build process from killing any
+          <command>udevd</command> processes that may be running on the
+          system.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
     <para os="h">Udev's configuration is far from ideal by default, so install
     the configuration files here:</para>
 

Modified: trunk/BOOK/final-system/multilib/udev.xml
===================================================================
--- trunk/BOOK/final-system/multilib/udev.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/final-system/multilib/udev.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -48,6 +48,10 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
+    xpointer="xpointer(//*[@os='g1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/udev.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/introduction/common/changelog.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -42,6 +42,10 @@
       <para>November 9, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[manuel] - Stop Udev from killing udevd processes on the
+          system and removed udevdir=/dev. Ported from LFS-SVN.</para>
+        </listitem>
+        <listitem>
           <para>[manuel] - Install the binaries from Less to /usr/bin instead
           of /bin. Ported from LFS-SVN.</para>
         </listitem>

Modified: trunk/BOOK/the-end/reboot.xml
===================================================================
--- trunk/BOOK/the-end/reboot.xml	2005-11-09 10:48:38 UTC (rev 669)
+++ trunk/BOOK/the-end/reboot.xml	2005-11-09 11:15:53 UTC (rev 670)
@@ -31,11 +31,9 @@
 
 <screen><userinput>logout</userinput></screen>
 
-  <para>Stop the <command>udevd</command> daemon that Udev started earlier,
-  then unmount the virtual files systems:</para>
+  <para>Then unmount the virtual files systems:</para>
 
-<screen><userinput>pkill udevd
-umount $LFS/dev/pts
+<screen><userinput>umount $LFS/dev/pts
 umount $LFS/dev/shm
 umount $LFS/dev
 umount $LFS/proc




More information about the cross-lfs mailing list