Explorar el Código

Stop the Udev build process from killing the hosts' udevd process

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7132 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess hace 20 años
padre
commit
09043c0e9a
Se han modificado 4 ficheros con 39 adiciones y 5 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 31 1
      chapter06/udev.xml
  3. 2 2
      chapter09/reboot.xml
  4. 2 2
      general.ent

+ 4 - 0
chapter01/changelog.xml

@@ -125,6 +125,10 @@ of <filename class="directory">/usr/share/vim/vim64/doc</filename> (bug 1610).
 Thanks to Randy McMurchy for the report, and Jeremy Huntwork for the fix.</para>
 </listitem>
 
+<listitem><para>November 7, 2005 [matt]: Stop Udev from killing udevd processes
+on the host system (fixes bug 1651).  Thanks to Alexander Patrakov for the
+report and the fix.</para></listitem>
+
 <listitem><para>November 6, 2005 [matt]: Upgrade to Coreutils 5.93.</para>
 </listitem>
 

+ 31 - 1
chapter06/udev.xml

@@ -34,12 +34,42 @@
 
 <screen><userinput>make EXTRAS=extras/run_directory</userinput></screen>
 
+<para>The meaning of the make option:</para>
+
+<variablelist>
+  <varlistentry>
+    <term><parameter>EXTRAS=extras/run_directory</parameter>
+    </term>
+    <listitem>
+      <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>
+</variablelist>
+
 <para>To test the results, issue:
 <userinput>make test</userinput>.</para>
 
 <para>Install the package:</para>
 
-<screen><userinput>make EXTRAS=extras/run_directory install</userinput></screen>
+<screen><userinput>make DESTDIR=/ EXTRAS=extras/run_directory install</userinput></screen>
+
+<para>The meaning of the make option:</para>
+
+<variablelist>
+  <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 host
+        system.
+      </para>
+    </listitem>
+  </varlistentry>
+</variablelist>
 
 <para>Udev's configuration is far from ideal by default, so install
 the configuration files here:</para>

+ 2 - 2
chapter09/reboot.xml

@@ -27,9 +27,9 @@ installation for the first time! First exit from the chroot environment:</para>
 
 <screen><userinput>logout</userinput></screen>
 
-<para>Stop the <command>udevd</command> daemon that Udev started earlier, then unmount the virtual files systems:</para>
+<para>Unmount the virtual files systems:</para>
 
-<screen><userinput>pkill udevd
+<screen><userinput>
 umount -v $LFS/dev/pts
 umount -v $LFS/dev/shm
 umount -v $LFS/dev

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20051106">
-<!ENTITY releasedate "November 6, 2005">
+<!ENTITY version "SVN-20051107">
+<!ENTITY releasedate "November 7, 2005">
 <!ENTITY milestone "6.2">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->