[Buildroot] [git commit] busybox: register mdev as hotplug helper when selected

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 28 14:32:07 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=caae7fa1d737c550b4a2f557d6e1761b93934340
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It's also done in the kernel configuration, however users may be using
some other pre-built kernel and miss functionality like firmware
loading.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/busybox/S10mdev |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/busybox/S10mdev b/package/busybox/S10mdev
index c06aa20..d386d42 100644
--- a/package/busybox/S10mdev
+++ b/package/busybox/S10mdev
@@ -6,6 +6,7 @@
 case "$1" in
   start)
 	echo "Starting mdev..."
+	echo /sbin/mdev >/proc/sys/kernel/hotplug
 	/sbin/mdev -s
 	;;
   stop)


More information about the buildroot mailing list