diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2025-04-17 03:29:17 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-20 10:11:16 +0100 |
| commit | 4c57a5d461183dd13af7a6731e8e9335e3214f37 (patch) | |
| tree | 0bc6bb848ee143d7b8f0eb391eac22d08fc89024 /meta | |
| parent | a87078c4239a1ad89b5b3598a76c06d8fa026717 (diff) | |
| download | poky-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.bb | 5 |
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 | |||
| 69 | PACKAGECONFIG[pptp] = "--enable-pptp --with-pptp=${sbindir}/pptp,--disable-pptp,ppp,pptp-linux" | 69 | PACKAGECONFIG[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 |
| 71 | PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls," | 71 | PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls," |
| 72 | PACKAGECONFIG[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" | 72 | PACKAGECONFIG[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" |
| 73 | PACKAGECONFIG[iptables] = "--with-firewall=iptables ,,iptables,iptables" | 73 | PACKAGECONFIG[iptables] = "--with-firewall=iptables,,iptables,,,nftables" |
| 74 | PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard" | 74 | PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard" |
| 75 | PACKAGECONFIG[client] = "--enable-client,--disable-client,readline" | 75 | PACKAGECONFIG[client] = "--enable-client,--disable-client,readline" |
| 76 | PACKAGECONFIG[wireguard] = "--enable-wireguard,--disable-wireguard,libmnl" | 76 | PACKAGECONFIG[wireguard] = "--enable-wireguard,--disable-wireguard,libmnl" |
| @@ -167,6 +167,7 @@ FILES:${PN}-tools = "${bindir}/wispr" | |||
| 167 | RDEPENDS:${PN}-tools = "${PN}" | 167 | RDEPENDS:${PN}-tools = "${PN}" |
| 168 | 168 | ||
| 169 | FILES:${PN}-tests = "${bindir}/*-test" | 169 | FILES:${PN}-tests = "${bindir}/*-test" |
| 170 | RDEPENDS:${PN}-tests = "${@bb.utils.contains('PACKAGECONFIG', 'iptables', 'iptables', '', d)}" | ||
| 170 | 171 | ||
| 171 | FILES:${PN}-client = "${bindir}/connmanctl" | 172 | FILES:${PN}-client = "${bindir}/connmanctl" |
| 172 | RDEPENDS:${PN}-client = "${PN}" | 173 | RDEPENDS:${PN}-client = "${PN}" |
