From b9e738a5fb79afa5ec07b3dbcd7cf663cd8b7be1 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Tue, 15 Jun 2004 16:14:43 +0000 Subject: 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 --- chapter08/kernel.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter08/kernel.xml') 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. patch -Np1 -i ../linux-&linux-version;-fpu-1.patch +Also, assure that the kernel does not attempt to pass hotplugging events +to userspace until userspace specifies that it is ready: + +sed -i 's@/sbin/hotplug@/bin/true@' kernel/kmod.c + Configure the kernel via a menu-driven interface: make menuconfig -- cgit v1.2.3-54-g00ecf