[Buildroot] [PATCH] busybox: register mdev as hotplug helper

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 28 13:51:56 UTC 2013


Dear Gustavo Zacarias,

On Sun, 28 Jul 2013 10:38:06 -0300, Gustavo Zacarias wrote:

> >> Proven failure: not building a kernel with buildroot.
> > 
> > Not really an argument: if you select 'devtmpfs' as the /dev management
> > method and you build your kernel outside of Buildroot, you have to
> > enable CONFIG_DEVTMPFS + CONFIG_DEVTMPFS_MOUNT, otherwise things won't
> > work. I don't see what it shouldn't be the same for the hotplug helper
> > selection: if you're building the kernel with Buildroot, then things are
> > taken care of automatically, otherwise you're on your own.
> 
> Then we should just ditch the device managment options if the user isn't
> building a kernel?

No because it also controls whether the device_table_dev.txt is use
to create static devices or not. It also controls whether the udev
package is built, etc. So clearly the device management options aren't
just controlling the kernel configuration, but a lot of other things as
well.

> For mdev that can be solved, at worst it'll be an (almost) no-op,
> devtmpfs is another story.

That's true.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list