lede-Heleguo/package/network/utils
Beginner d6d23bcaf3
ethtool: fix recursive dependency (#7793)
Change the CONFLICTS definition from the alternative package
(ethtool-full) to the main one.

The CONFLICTS line creates a dependency to the conflicting package.

Right now, the dependency would be created in the PACKAGE_ethtool-full
symbol:

config PACKAGE_ethtool-full
        depends on m || (PACKAGE_ethtool != y)

When the main package is selected by airmon-ng, it selects
PACKAGE_ethtool, *depending* on the value of PACKAGE_ethtool-full:

config PACKAGE_airmon-ng
        select PACKAGE_ethtool if PACKAGE_ethtool-full<PACKAGE_airmon-ng

In the first block, the value of PACKAGE_ethtool-full depends on the
value of PACKAGE_ethtool.  In the second block, the opposite is true:
the value of PACKAGE_ethtool depends on the value of
PACKAGE_ethtool-full.  This is a recursive dependency.

Fix it by changing the package where the dependency is created, so that
only the value of PACKAGE_ethtool will depend on PACKAGE_ethtool-full.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-09-01 23:15:23 +08:00
..
adb-enablemodem
arptables
bpftools add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
comgt x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
dante
dpdk dpdk: add x64 and armv8 64bit support 2021-06-19 23:16:19 +08:00
ebtables
ethtool ethtool: fix recursive dependency (#7793) 2021-09-01 23:15:23 +08:00
iproute2 Revert "iproute2: bump to 5.13 (#7545)" 2021-08-01 23:07:29 +08:00
ipset add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
iptables x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
iw x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
iwcap
iwinfo Revert "iwinfo: bump version" 2021-07-31 16:48:06 +08:00
layerscape/restool x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
linux-atm
ltq-dsl-base x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
nftables add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
resolveip
rssileds add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
tcpdump add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
umbim x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
uqmi x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
wireguard-tools bump wireguard-tools to the latest version (#7605) 2021-08-04 14:52:21 +08:00
wireless-tools add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
wpan-tools
wwan x64: fix grub2 booting 2021-06-15 17:58:07 +08:00