kernel: introduced use/kernel/net target

The various *8168 and friends among kernel modules
have finally been pushed into a designated target
so that RM doesn't have to care which particular
additional ethernet modules are available in this
particular branch and kernel.

Tweak distros as appropriate.

NB: *maybe* this is required by distro/.base either.
This commit is contained in:
Michael Shigorin 2013-02-21 13:49:32 +04:00
parent ca517ecc48
commit 753d827320
4 changed files with 11 additions and 4 deletions

View File

@ -4,11 +4,11 @@ ifeq (distro,$(IMAGE_CLASS))
# WM base target
distro/.regular-base: distro/.base +live +wireless use/live/ru \
use/live/install use/live/repo use/live/net-eth use/x11/3d-free \
use/efi/signed use/luks +vmguest use/memtest use/branding
use/efi/signed use/luks +vmguest use/memtest use/branding \
use/kernel/net
@$(call add,LIVE_LISTS,$(call tags,base regular))
@$(call add,LIVE_LISTS,$(call tags,rescue extra))
@$(call add,THE_BRANDING,indexhtml notes alterator)
@$(call add,KMODULES,r8168)
@$(call try,SAVE_PROFILE,yes)
# DE base target

View File

@ -9,7 +9,7 @@ distro/server-nano: distro/.server-base \
@$(call add,BASE_LISTS,$(call tags,server network))
@$(call add,BASE_PACKAGES,dhcpcd cpio)
distro/server-mini: distro/.server-base use/server/mini \
distro/server-mini: distro/.server-base use/server/mini use/kernel/net \
use/cleanup/x11-alterator use/efi
@$(call add,BASE_PACKAGES,make-initrd-mdadm make-initrd-lvm)
@ -17,7 +17,6 @@ distro/server-ovz: distro/server-mini use/install2/net use/hdt use/rescue \
use/firmware/server use/firmware/cpu use/power/acpi/button +wireless
@$(call set,STAGE1_KFLAVOUR,std-def)
@$(call set,KFLAVOURS,std-def ovz-el)
@$(call add,BASE_KMODULES,rtl8168)
@$(call add,MAIN_KMODULES,ipset ipt-netflow opendpi pf_ring xtables-addons)
@$(call add,MAIN_KMODULES,drbd83 kvm)
@$(call add,BASE_LISTS,ovz-server)

View File

@ -1,2 +1,7 @@
Эта фича привносит код, имеющий смысл при добавлении в образ ядра,
и задаёт начальный вариант такового.
Также занимается складированием наборов имён пакетов kernel-modules-*
с тем, чтобы избавить релиз-менеджеров от необходимости учитывать
полные списки и точные имена дополнительных модулей для поддержки,
скажем, Ethernet.

View File

@ -8,3 +8,6 @@ endif
use/kernel:
@$(call add_feature)
@$(call set,KFLAVOURS,std-def)
use/kernel/net:
@$(call add,THE_KMODULES,e1000e igb r8168 rtl8168)