[Buildroot] Properly setting up hotplug

Peter Korsgaard jacmet at uclibc.org
Wed Apr 15 18:01:47 UTC 2009


>>>>> "Dan" == Dan Lyke <danlyke at flutterby.com> writes:

 Dan> So I know I've gotten a Buildroot install that did this automatically
 Dan> once, but through various incremental steps I've gotten a kernel that
 Dan> has the hotplug stuff enabled, and if I

 Dan> echo /bin/mdev > /proc/sys/kernel/hotplug

 Dan> or just run "mdev -s" manually I get my hot-plugged devices created, but
 Dan> I'm sure that at some point I had a system where buildroot had created
 Dan> the appropriate init script for me.

 Dan> Am I hallucinating, or to get this as part of the compile do I need to
 Dan> copy my configs across to a fresh buildroot and make again?

The target_busybox does this ("use minimal target skeleton" under the
busybox config).

 Dan> And what's the "make" argument for Buildroot that should clean
 Dan> everything, but not destroy my configs? "make clean" destroys configs,
 Dan> or at least did last time I typed it...

make distclean.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list