summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2025-04-17 03:29:17 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-20 10:11:16 +0100
commit4c57a5d461183dd13af7a6731e8e9335e3214f37 (patch)
tree0bc6bb848ee143d7b8f0eb391eac22d08fc89024 /meta
parenta87078c4239a1ad89b5b3598a76c06d8fa026717 (diff)
downloadpoky-4c57a5d461183dd13af7a6731e8e9335e3214f37.tar.gz
connman: Mark iptables/nftables mutually incompatible
Only one of iptables or nftables can be specified, mark them mutually incompatible. Drop the RDEPENDS on iptables from PACKAGECONFIG as its libraries are automatically discovered on the main package, with only the scripts required as part of iptables/ip6tables-test. (From OE-Core rev: fa6772414b065f3f5481e328f182eecc971d2605) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/connman/connman_1.44.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman_1.44.bb b/meta/recipes-connectivity/connman/connman_1.44.bb
index 3ee2b12b7e..306d54794f 100644
--- a/meta/recipes-connectivity/connman/connman_1.44.bb
+++ b/meta/recipes-connectivity/connman/connman_1.44.bb
@@ -69,8 +69,8 @@ PACKAGECONFIG[l2tp] = "--enable-l2tp --with-l2tp=${sbindir}/xl2tpd,--disable-l2t
69PACKAGECONFIG[pptp] = "--enable-pptp --with-pptp=${sbindir}/pptp,--disable-pptp,ppp,pptp-linux" 69PACKAGECONFIG[pptp] = "--enable-pptp --with-pptp=${sbindir}/pptp,--disable-pptp,ppp,pptp-linux"
70# WISPr support for logging into hotspots, requires TLS 70# WISPr support for logging into hotspots, requires TLS
71PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls," 71PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls,"
72PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl libnftnl,,kernel-module-nf-tables kernel-module-nft-chain-nat-ipv4 kernel-module-nft-chain-route-ipv4 kernel-module-nft-masq-ipv4 kernel-module-nft-nat" 72PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl libnftnl,,kernel-module-nf-tables kernel-module-nft-chain-nat-ipv4 kernel-module-nft-chain-route-ipv4 kernel-module-nft-masq-ipv4 kernel-module-nft-nat,iptables"
73PACKAGECONFIG[iptables] = "--with-firewall=iptables ,,iptables,iptables" 73PACKAGECONFIG[iptables] = "--with-firewall=iptables,,iptables,,,nftables"
74PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard" 74PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard"
75PACKAGECONFIG[client] = "--enable-client,--disable-client,readline" 75PACKAGECONFIG[client] = "--enable-client,--disable-client,readline"
76PACKAGECONFIG[wireguard] = "--enable-wireguard,--disable-wireguard,libmnl" 76PACKAGECONFIG[wireguard] = "--enable-wireguard,--disable-wireguard,libmnl"
@@ -167,6 +167,7 @@ FILES:${PN}-tools = "${bindir}/wispr"
167RDEPENDS:${PN}-tools = "${PN}" 167RDEPENDS:${PN}-tools = "${PN}"
168 168
169FILES:${PN}-tests = "${bindir}/*-test" 169FILES:${PN}-tests = "${bindir}/*-test"
170RDEPENDS:${PN}-tests = "${@bb.utils.contains('PACKAGECONFIG', 'iptables', 'iptables', '', d)}"
170 171
171FILES:${PN}-client = "${bindir}/connmanctl" 172FILES:${PN}-client = "${bindir}/connmanctl"
172RDEPENDS:${PN}-client = "${PN}" 173RDEPENDS:${PN}-client = "${PN}"