forked from altcloud/mkimage-profiles
e8306860f1
This was asked for by Leo-sp50 and torabora, and seems quite reasonable: let's provide means to keep at least some distribution configurations a bit apart, so that these can be considered more standalone in terms of hard warranted functionality but at the same time enjoying the common infrastructure. Considering lib/distro.mk: it's now experimentally pulled apart so that parallel development of different distro families can go on without major merge hassles. *Please* don't abuse with massive copy-paste. And before you ask: this might get extended to allow for "private" out-of-tree configurations being included since apparently there are goals with no meaning outside of some very particular context... but otherwise I'd like to encourage getting reusable bits in-tree.
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
# server distributions
|
|
ifeq (distro,$(IMAGE_CLASS))
|
|
|
|
distro/server-base: distro/installer sub/main \
|
|
use/syslinux/ui-menu use/memtest use/bootloader/grub
|
|
@$(call add,BASE_LISTS,server-base)
|
|
|
|
distro/server-mini: distro/server-base use/cleanup/x11-alterator
|
|
@$(call set,KFLAVOURS,el-smp)
|
|
@$(call add,KMODULES,e1000e igb)
|
|
@$(call add,BASE_LISTS,\
|
|
$(call tags,base && (server || network || security || pkg)))
|
|
@$(call add,BASE_LISTS,$(call tags,extra network))
|
|
|
|
distro/server-ovz: distro/server-base \
|
|
use/hdt use/rescue use/firmware/server use/powerbutton/acpi \
|
|
use/cleanup/x11-alterator
|
|
@$(call set,STAGE1_KFLAVOUR,std-def)
|
|
@$(call set,KFLAVOURS,std-def ovz-el)
|
|
@$(call add,KMODULES,bcmwl e1000e igb ndiswrapper rtl8168 rtl8192)
|
|
@$(call add,KMODULES,ipset ipt-netflow opendpi pf_ring xtables-addons)
|
|
@$(call add,KMODULES,drbd83 kvm)
|
|
@$(call add,BASE_LISTS,ovz-server)
|
|
@$(call add,BASE_LISTS,$(call tags,base server))
|
|
@$(call add,MAIN_LISTS,kernel-wifi)
|
|
@$(call add,MAIN_GROUPS,dns-server http-server ftp-server kvm-server)
|
|
@$(call add,MAIN_GROUPS,ipmi mysql-server dhcp-server mail-server)
|
|
@$(call add,MAIN_GROUPS,monitoring diag-tools)
|
|
|
|
endif
|