diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-15 16:14:43 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-15 16:14:43 +0000 |
commit | b9e738a5fb79afa5ec07b3dbcd7cf663cd8b7be1 (patch) | |
tree | 0e3433f0939a71bfc2e0cd723f9078df8406347f /chapter08 | |
parent | 9c5c7c9a847b30f82ef462a575a1ebc247e8f052 (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
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/kernel.xml | 5 |
1 files changed, 5 insertions, 0 deletions
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> |