According to iptables.make, the systemd unit files are only installed if
IPTABLES_INSTALL_TOOLS is selected, which makes sense. Update the
menuconfig so it reflects this dependency, otherwise no unit files would
be installed at all, even if unit files are selected.

Signed-off-by: Roland Hieber <r.hie...@pengutronix.de>
---
 rules/iptables.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/iptables.in b/rules/iptables.in
index a73f5d3ac..0c4ded12a 100644
--- a/rules/iptables.in
+++ b/rules/iptables.in
@@ -30,11 +30,13 @@ config IPTABLES_IPV6_SYSTEMD_UNIT
        bool
        prompt "Activate IPv6 systemd service unit"
        select IPTABLES_IPV6
+       select IPTABLES_INSTALL_TOOLS
 
 config IPTABLES_IPV4_SYSTEMD_UNIT
        bool
        prompt "Activate IPv4 systemd service unit"
        select IPTABLES_IPV4
+       select IPTABLES_INSTALL_TOOLS
 
 config IPTABLES_LIBIPQ
        bool
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to