net-eth: added plus-shortcut

"use/stage2/net-eth use/net-eth" would be common enough
for installers or livecd images to just get these pulled in
together by a convenient shortcut thus reducing confusion
and chances to just forget one of these counterparts.
This commit is contained in:
Michael Shigorin 2014-08-26 22:20:22 +04:00
parent 2a0482ceee
commit 8533f7e2b7
2 changed files with 8 additions and 3 deletions

View File

@ -5,3 +5,6 @@ udev-rule-generator-net штатно добавляется для обеспе
сломали в апстримном systemd-udevd; для генерируемых "на лету"
следует применять конфигурирование времени загрузки (NM, connman
либо пакет livecd-net-eth).
Обратите внимание: применение в инсталяторах требует задействования
как use/net-eth, так и use/stage2/net-eth; +net-eth "подберёт" оба.

View File

@ -1,11 +1,13 @@
# 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
use/net-eth: use/net
@$(call add_feature)
@$(call xport,NET_ETH)
@$(call add,BASE_PACKAGES,udev-rule-generator-net)
# see also use/stage2/net-eth; do not depend on it though
# as stage2-less images need preconfigured networking too
# typical boilerplate
use/net-eth/dhcp: use/net-eth use/net/dhcp
@$(call add,NET_ETH,eth0:dhcp)