From d4608453913f3fbb9209546b058896cdc62bc9c6 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Wed, 11 Oct 2023 11:22:49 +0200 Subject: [PATCH] package/firewalld: enable missing kernel config options Firewalld requires IPV6 to function. We also should enable the other dependencies such as networking support to ensure all other options in the giant list of kernel config options are selected properly. Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/firewalld/firewalld.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/firewalld/firewalld.mk b/package/firewalld/firewalld.mk index 188550d449..23ba1e6c2a 100644 --- a/package/firewalld/firewalld.mk +++ b/package/firewalld/firewalld.mk @@ -72,9 +72,16 @@ define FIREWALLD_INSTALL_INIT_SYSV $(TARGET_DIR)/etc/init.d/S46firewalld endef +# Firewalld needs ipv6 # Firewalld requires almost every single nftable option selected. define FIREWALLD_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET_DIAG) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) + $(call KCONFIG_ENABLE_OPT,CONFIG_IPV6) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_FILTER) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_IPTABLES) $(call KCONFIG_ENABLE_OPT,CONFIG_IP6_NF_MANGLE)