Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/docker-engine: use kernel modules for extra network drivers
@ 2022-08-12 16:07 Stefan Agner
  2022-08-13 11:51 ` Yann E. MORIN
  2022-08-15  9:36 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Agner @ 2022-08-12 16:07 UTC (permalink / raw)
  To: buildroot, christian; +Cc: stefan

Docker network driver "overlay", "macvlan" and "ipvlan" are not used
by default. Make them a module.

The main aim here is to get rid of the dummy0 network interface which
is generated by the dummy driver by default. For consistency, make
all kernel drivers required for Docker network drivers a module. Also
add the currently missing CONFIG_BRIDGE_VLAN_FILTERING (mandatory
for the Docker network driver "overlay").

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 package/docker-engine/docker-engine.mk | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
index 293af1858c..730f2e3b86 100644
--- a/package/docker-engine/docker-engine.mk
+++ b/package/docker-engine/docker-engine.mk
@@ -124,10 +124,11 @@ define DOCKER_ENGINE_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_TARGET_MASQUERADE)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE)
-	$(call KCONFIG_ENABLE_OPT,CONFIG_DUMMY)
-	$(call KCONFIG_ENABLE_OPT,CONFIG_MACVLAN)
-	$(call KCONFIG_ENABLE_OPT,CONFIG_IPVLAN)
-	$(call KCONFIG_ENABLE_OPT,CONFIG_VXLAN)
+	$(call KCONFIG_SET_OPT,CONFIG_DUMMY,m)
+	$(call KCONFIG_SET_OPT,CONFIG_MACVLAN,m)
+	$(call KCONFIG_SET_OPT,CONFIG_IPVLAN,m)
+	$(call KCONFIG_SET_OPT,CONFIG_VXLAN,m)
+	$(call KCONFIG_SET_OPT,CONFIG_BRIDGE_VLAN_FILTERING,m)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_VETH)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_KEYS)
-- 
2.37.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-08-15  9:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-12 16:07 [Buildroot] [PATCH] package/docker-engine: use kernel modules for extra network drivers Stefan Agner
2022-08-13 11:51 ` Yann E. MORIN
2022-08-14 21:27   ` Arnout Vandecappelle
2022-08-14 21:46     ` Yann E. MORIN
2022-08-15  9:36 ` Thomas Petazzoni via buildroot

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