aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-06-15 16:14:43 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-06-15 16:14:43 +0000
commitb9e738a5fb79afa5ec07b3dbcd7cf663cd8b7be1 (patch)
tree0e3433f0939a71bfc2e0cd723f9078df8406347f
parent9c5c7c9a847b30f82ef462a575a1ebc247e8f052 (diff)
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
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter08/kernel.xml5
-rw-r--r--general.ent4
3 files changed, 10 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b7f458f7e..14bd20d05 100644
--- a/chapter01/changelog.xml
+++ b/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>
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index 4209f3cf8..88bc484f8 100644
--- a/chapter08/kernel.xml
+++ b/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>
diff --git a/general.ent b/general.ent
index 36ada74ea..26441a7bd 100644
--- a/general.ent
+++ b/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/">