Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] udev: mention dependancy on inotify
@ 2014-01-07 20:33 Peter Korsgaard
  2014-01-07 22:23 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2014-01-07 20:33 UTC (permalink / raw)
  To: buildroot

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

[Peter: wrap help text]
Signed-off-by: J??r??my Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/udev/Config.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/udev/Config.in b/package/udev/Config.in
index 91dc7cf..7aa79c4 100644
--- a/package/udev/Config.in
+++ b/package/udev/Config.in
@@ -11,7 +11,8 @@ config BR2_PACKAGE_UDEV
 	help
 	  Userspace device daemon.
 
-	  udev requires a Linux kernel >= 2.6.34: it relies on devtmpfs.
+	  udev requires a Linux kernel >= 2.6.34: it relies on devtmpfs
+	  and inotify.
 
 	  ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
 

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

* [Buildroot] [git commit] udev: mention dependancy on inotify
  2014-01-07 20:33 [Buildroot] [git commit] udev: mention dependancy on inotify Peter Korsgaard
@ 2014-01-07 22:23 ` Thomas Petazzoni
  2014-01-08  8:24   ` Jeremy Rosen
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-01-07 22:23 UTC (permalink / raw)
  To: buildroot

Dear Peter Korsgaard,

On Tue, 7 Jan 2014 21:33:34 +0100, Peter Korsgaard wrote:

> -	  udev requires a Linux kernel >= 2.6.34: it relies on devtmpfs.
> +	  udev requires a Linux kernel >= 2.6.34: it relies on devtmpfs
> +	  and inotify.

Then, maybe we need something like:

diff --git a/linux/linux.mk b/linux/linux.mk
index fa8aa0c..ab25fe9 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -185,6 +185,8 @@ define LINUX_CONFIGURE_CMDS
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
        $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
                $(call KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config))
+       $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),
+               $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config))
        $(if $(BR2_PACKAGE_KTAP),
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_EVENT_TRACING,$(@D)/.config)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [git commit] udev: mention dependancy on inotify
  2014-01-07 22:23 ` Thomas Petazzoni
@ 2014-01-08  8:24   ` Jeremy Rosen
  0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Rosen @ 2014-01-08  8:24 UTC (permalink / raw)
  To: buildroot

Oh...

the kernel option handling was in the kernel and not in the package...

that's why I missed it.

I'll post a followup patch

Cordialement 

J?r?my Rosen 
+33 (0)1 42 68 28 04

fight key loggers : write some perl using vim 


Open Wide Ingenierie

23, rue Daviel
75012 Paris - France
www.openwide.fr





----- Mail original -----
> Dear Peter Korsgaard,
> 
> On Tue, 7 Jan 2014 21:33:34 +0100, Peter Korsgaard wrote:
> 
> > -	  udev requires a Linux kernel >= 2.6.34: it relies on devtmpfs.
> > +	  udev requires a Linux kernel >= 2.6.34: it relies on devtmpfs
> > +	  and inotify.
> 
> Then, maybe we need something like:
> 
> diff --git a/linux/linux.mk b/linux/linux.mk
> index fa8aa0c..ab25fe9 100644
> --- a/linux/linux.mk
> +++ b/linux/linux.mk
> @@ -185,6 +185,8 @@ define LINUX_CONFIGURE_CMDS
>                 $(call
>                 KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
>         $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
>                 $(call
>                 KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config))
> +       $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),
> +               $(call
> KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config))
>         $(if $(BR2_PACKAGE_KTAP),
>                 $(call
>                 KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
>                 $(call
>                 KCONFIG_ENABLE_OPT,CONFIG_EVENT_TRACING,$(@D)/.config)
> 
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
> 

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

end of thread, other threads:[~2014-01-08  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07 20:33 [Buildroot] [git commit] udev: mention dependancy on inotify Peter Korsgaard
2014-01-07 22:23 ` Thomas Petazzoni
2014-01-08  8:24   ` Jeremy Rosen

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