[Buildroot] [PATCH] busybox: register mdev as hotplug helper
thomas.petazzoni at free-electrons.com
Sun Jul 28 14:03:42 UTC 2013
Dear Gustavo Zacarias,
On Sun, 28 Jul 2013 11:01:29 -0300, Gustavo Zacarias wrote:
> It basically boils down to helping people or not on alternate scenarios.
> Some random guy in #pandaboard was having issues loading firmware on a
> prebuilt kernel (which sometimes happens to be a sore PITA to build a
> working kernel with some vendors/for some people, no point in arguing
> that no matter how much we wish everything were upstreamed/vanilla) for
> WiFi support and (obviously) mdev wasn't working.
> Solution was get your kernel source/config right, or fix the script.
> The script was a quick way out without bad side effects.
> On a personal level i don't care about the patch, it was just a quick
> and painless way of fixing a common problem.
Right. But then maybe the 2>/dev/null should be removed, so that if the
sysctl file to set the hotplug helper doesn't exist, the user sees that
something is wrong?
(That said, I think CONFIG_HOTPLUG has become mandatory in recent
kernels, so it shouldn't be a big problem.)
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the buildroot