소스 검색

Default to /bin/true as the hotplug manager. Leave it up to userspace to tell
us otherwise.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3789 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Zack Winkles 21 년 전
부모
커밋
b9e738a5fb
3개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 0
      chapter01/changelog.xml
  2. 5 0
      chapter08/kernel.xml
  3. 2 2
      general.ent

+ 3 - 0
chapter01/changelog.xml

@@ -75,6 +75,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>June 15, 2004 [winkie]: Patched the kernel sources so that it
+defaults to <filename>/bin/true</filename> as the hotplug manager.</para></listitem>
+
 <listitem><para>June 14, 2004 [matt]: Removed GNU/Linux in line with common
 usage regarding the recurring GNU/Linux vs. Linux debate (Larry Lawrence).
 </para></listitem>

+ 5 - 0
chapter08/kernel.xml

@@ -47,6 +47,11 @@ un-tarring.</para>
 
 <screen><userinput>patch -Np1 -i ../linux-&linux-version;-fpu-1.patch</userinput></screen>
 
+<para>Also, assure that the kernel does not attempt to pass hotplugging events
+to userspace until userspace specifies that it is ready:</para>
+
+<screen><userinput>sed -i 's@/sbin/hotplug@/bin/true@' kernel/kmod.c</userinput></screen>
+
 <para>Configure the kernel via a menu-driven interface:</para>
 
 <screen><userinput>make menuconfig</userinput></screen>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "CVS-20040614">
-<!ENTITY releasedate "June 14, 2004">
+<!ENTITY version "CVS-20040615">
+<!ENTITY releasedate "June 15, 2004">
 <!ENTITY milestone "6.0">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">