a07959e2f5
There are pseudo-distro targets that are useful to combine the needed bits and pieces for a few more different end-user images but that are useless themselves (e.g. desktop-base wouldn't even start X session before someone would have installed a window manager). Let's just hide these under the hood so that `make help', `make everything' and potential frontends don't bother.
38 lines
1.5 KiB
Makefile
38 lines
1.5 KiB
Makefile
# server distributions
|
|
ifeq (distro,$(IMAGE_CLASS))
|
|
|
|
distro/.server-base: distro/.installer use/syslinux/ui-menu use/memtest
|
|
@$(call add,BASE_LISTS,server-base)
|
|
|
|
distro/server-mini: distro/.server-base use/cleanup/x11-alterator
|
|
@$(call set,KFLAVOURS,el-smp)
|
|
@$(call add,THE_KMODULES,e1000e igb)
|
|
@$(call add,STAGE1_KMODULES,e1000e igb)
|
|
@$(call add,BASE_LISTS,\
|
|
$(call tags,base && (server || network || security || pkg)))
|
|
@$(call add,BASE_LISTS,$(call tags,extra (server || network)))
|
|
|
|
distro/server-systemd: distro/server-mini use/systemd use/bootloader/lilo
|
|
|
|
distro/server-ovz: distro/server-mini \
|
|
use/hdt use/rescue use/firmware/server use/power/acpi/button
|
|
@$(call set,STAGE1_KFLAVOUR,std-def)
|
|
@$(call set,KFLAVOURS,std-def ovz-el)
|
|
@$(call add,BASE_KMODULES,rtl8168 rtl8192)
|
|
@$(call add,MAIN_KMODULES,bcmwl ndiswrapper)
|
|
@$(call add,MAIN_KMODULES,ipset ipt-netflow opendpi pf_ring xtables-addons)
|
|
@$(call add,MAIN_KMODULES,drbd83 kvm)
|
|
@$(call add,INSTALL2_PACKAGES,curl) ### should become curl-mini
|
|
@$(call add,BASE_LISTS,ovz-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)
|
|
|
|
# tiny network-only server-ovz installer (stage2 comes over net too)
|
|
distro/server-ovz-netinst: distro/.base sub/stage1 use/stage2 \
|
|
use/syslinux/ui-menu use/syslinux/localboot.cfg use/memtest
|
|
@$(call add,SYSLINUX_CFG,netinstall2)
|
|
|
|
endif
|