Skip to contentSkip to conversation

linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev management

PATCH New Titouan Christophe 2 participants 2 messages Jun 20, 2019 – Jul 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev management

Since mdev was switched to the daemon mode introduced in Busybox 1.31.0, it requires CONFIG_NET to be enabled in the kernel such that the mdev daemon can listen to netlink events.

---
 linux/linux.mk | 2 ++
 1 file changed, 2 insertions(+)
linux/linux.mk +2 -0
index dd182d06b2..7468f1be60 100644
@@ -333,6 +333,8 @@ define LINUX_KCONFIG_FIXUP_CMDS
 		$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
 	$(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV),
 		$(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config))
+	$(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
+		$(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config))
 	$(if $(BR2_PACKAGE_AUDIT),
 		$(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config)
 		$(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT,$(@D)/.config))
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev management

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Titouan" == Titouan Christophe <[email protected]> writes:

Since mdev was switched to the daemon mode introduced in Busybox 1.31.0, it requires CONFIG_NET to be enabled in the kernel such that the mdev daemon can listen to netlink events.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard