config.mk 729 Bytes
Newer Older
1 2 3 4 5
# NB: this is aimed at LiveCD/installer images
+net-eth: use/net-eth use/stage2/net-eth

# see also use/stage2/net-eth; do not depend on it though
# as stage2-less images need preconfigured networking too
6
use/net-eth: use/net/etcnet
7 8
	@$(call add_feature)
	@$(call xport,NET_ETH)
9 10
	@$(call add,BASE_PACKAGES,udev-rule-generator-net)

11 12 13 14 15
use/net-eth/networkd: use/net/networkd
	@$(call add_feature)
	@$(call xport,NET_ETH)
	@$(call add,BASE_PACKAGES,udev-rule-generator-net)

16 17 18 19
# typical boilerplate
use/net-eth/dhcp: use/net-eth use/net/dhcp
	@$(call add,NET_ETH,eth0:dhcp)

20 21 22
use/net-eth/networkd-dhcp: use/net-eth/networkd
	@$(call add,NET_ETH,eth0:dhcp)

23
# use e.g. eth0:static:10.0.0.2/24:10.0.0.1 for predefined static configuration