lede/package/network
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
..
config firewall: update to git HEAD (#7682) 2021-08-17 23:30:36 +08:00
ipv6 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
services hostapd: sync upstream (#7771) 2021-08-31 01:07:54 +08:00
utils ethtool: fix recursive dependency (#7793) 2021-09-01 23:15:23 +08:00