Anton Midyukov facbb331e8 net, x11, pkg.in/lists: rename & replace tagged lists: base+nm, desktop+nm
Oh those tags. Let's just make lists so we don't have to rack our brains.
Lists are perceived much easier.
2023-11-28 23:54:16 +07:00

57 lines
1.8 KiB
Makefile

+nm: use/net/nm; @:
+nm-native: use/net/nm/native; @:
use/net: use/services use/pkgpriorities
@$(call add_feature)
@$(call add,THE_PACKAGES,$$(THE_NET_SUBSYS))
@$(call add,THE_PACKAGES,iputils)
@$(call add,PINNED_PACKAGES,$$(THE_NET_SUBSYS))
@$(call set,THE_NET_SUBSYS,network-config-subsystem)
@$(call xport,TARGET_HOSTNAME)
use/net/etcnet: use/net
@$(call set,THE_NET_SUBSYS,etcnet)
@$(call add,DEFAULT_SERVICES_ENABLE,network)
use/net/dhcp: use/net
@$(call add,THE_PACKAGES,dhcpcd)
# base service, no GUI; see x11 feature for those
use/net/nm: use/net
@$(call set,THE_NET_SUBSYS,NetworkManager)
@$(call add,THE_LISTS,network/NetworkManager) # NB: won't get overridden
@$(call add,LIVE_PACKAGES,livecd-save-nfs)
@$(call add,DEFAULT_SERVICES_ENABLE,network) # need for NM?
@$(call add,DEFAULT_SERVICES_ENABLE,NetworkManager ModemManager)
@$(call add,DEFAULT_SERVICES_ENABLE,livecd-save-nfs) # keep interface up
@$(call xport,NM_native)
# use NetworkManager(native)
use/net/nm/native:
@$(call set,NM_Native,yes)
# NOT recommended unless you know what you're doing
# (e.g. dnsmasq can win a race against dhcpcd)
use/net/nm/nodelay: use/net/nm
@$(call add,DEFAULT_SERVICES_DISABLE,NetworkManager-wait-online)
use/net/nm/mmgui: use/net/nm
@$(call set,THE_NET_SUBSYS,modem-manager-gui)
use/net/connman: use/net
@$(call set,THE_NET_SUBSYS,connman)
@$(call add,DEFAULT_SERVICES_ENABLE,connmand connman)
use/net/networkd: use/net
@$(call set,THE_NET_SUBSYS,systemd-networkd)
@$(call add,DEFAULT_SERVICES_ENABLE,systemd-networkd)
@$(call xport,SYSTEMD_RESOLVED)
use/net/networkd/resolved: use/net/networkd
@$(call add,DEFAULT_SERVICES_ENABLE,systemd-resolved)
@$(call set,SYSTEMD_RESOLVED,yes)
use/net/networkd/resolved-stub: use/net/networkd
@$(call add,DEFAULT_SERVICES_ENABLE,systemd-resolved)
@$(call set,SYSTEMD_RESOLVED,stub)