Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] busybox: register mdev as hotplug helper when selected
@ 2013-07-28 14:32 Thomas Petazzoni
  2013-07-28 18:19 ` Will Wagner
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2013-07-28 14:32 UTC (permalink / raw)
  To: buildroot

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@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [git commit] busybox: register mdev as hotplug helper when selected
  2013-07-28 14:32 [Buildroot] [git commit] busybox: register mdev as hotplug helper when selected Thomas Petazzoni
@ 2013-07-28 18:19 ` Will Wagner
  0 siblings, 0 replies; 2+ messages in thread
From: Will Wagner @ 2013-07-28 18:19 UTC (permalink / raw)
  To: buildroot


On 28/07/2013 15:32, Thomas Petazzoni wrote:
> 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@zacarias.com.ar>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@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)

If you make that change surely you should change linux.mk to no longer 
set the option? Very confusing to have both at the same time.

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-28 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-28 14:32 [Buildroot] [git commit] busybox: register mdev as hotplug helper when selected Thomas Petazzoni
2013-07-28 18:19 ` Will Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox