From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Rosen Date: Wed, 8 Jan 2014 16:42:42 +0100 (CET) Subject: [Buildroot] [PATCH] force devtmpfs and inotify kernel option when udev is used as dev handler In-Reply-To: Message-ID: <1941682913.1448049.1389195762508.JavaMail.root@openwide.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net good catch, i'll wait for more feedback (if any) and then resend 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 ----- > J?r?my, > > On Wed, Jan 8, 2014 at 8:48 AM, J?r?my Rosen > wrote: > > Signed-off-by: J?r?my Rosen > > > > --- > > patch suggested by Thomas Petazzoni > > > > I also added devtmpfs because it's documented as needed but wasn't > > enforced > > --- > > linux/linux.mk | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/linux/linux.mk b/linux/linux.mk > > index fa8aa0c..2482952 100644 > > --- a/linux/linux.mk > > +++ b/linux/linux.mk > > @@ -185,6 +185,10 @@ 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) > > The above INOTIFY line has an extra leading space compared with the > other lines. > > Danomi - > > > + $(call > > KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS,$(@D)/.config) > > + $(call > > KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config)) > > $(if $(BR2_PACKAGE_KTAP), > > $(call > > KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config) > > $(call > > KCONFIG_ENABLE_OPT,CONFIG_EVENT_TRACING,$(@D)/.config) > > -- > > 1.8.5.2 > > > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot >