mkimage-profiles/conf.d/alt-server.mk

87 lines
3.0 KiB
Makefile
Raw Normal View History

ifeq (distro,$(IMAGE_CLASS))
2020-05-25 17:09:20 +03:00
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
distro/alt-server: server_groups_primary = $(addprefix centaurus/,\
ipmi netinst sogo)
2019-07-04 14:31:18 +03:00
2020-05-25 17:09:20 +03:00
ifeq (,$(filter-out x86_64 ppc64le aarch64,$(ARCH)))
distro/alt-server: server_groups_virtipa = $(addprefix centaurus/,\
freeipa-server)
distro/alt-server: server_groups_container = $(addprefix centaurus/,\
200-container docker podman kubernetes-master kubernetes-node \
rootless-kubernetes trivy)
2019-09-03 16:11:47 +03:00
endif
2019-07-04 14:31:18 +03:00
endif
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64 loongarch64 e2k%,$(ARCH)))
distro/alt-server: server_groups_desktop = $(addprefix centaurus/,\
80-desktop emulators freenx-server mate office pidgin xorg scanning samba)
endif
ifeq (,$(filter-out x86_64,$(ARCH)))
distro/alt-server: server_groups_virtualbox = $(addprefix centaurus/,\
vbox-host vbox-guest)
endif
distro/alt-server: monitoring = $(addprefix server-v/,\
90-monitoring zabbix-agent telegraf prometheus-node_exporter \
monit collectd nagios-nrpe)
# FIXME: generalize vm-profile
distro/alt-server:: distro/.base mixin/alt-server use/vmguest/base \
use/bootloader/grub use/stage2/kms \
2022-02-24 17:18:29 +03:00
use/stage2/ata use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs use/stage2/cifs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb \
2021-09-07 17:27:05 +03:00
use/docs/license use/docs/manual use/docs/indexhtml
@$(call set,DOCS,alt-server)
@$(call add,MAIN_GROUPS,$(server_groups_primary))
@$(call add,MAIN_GROUPS,$(server_groups_virtipa))
@$(call add,MAIN_GROUPS,$(server_groups_container))
@$(call add,MAIN_GROUPS,$(server_groups_desktop))
@$(call add,MAIN_GROUPS,$(server_groups_virtualbox))
@$(call add,MAIN_LISTS,centaurus/disk-dvd)
@$(call add,MAIN_LISTS,centaurus/disk-server-light)
@$(call add,MAIN_LISTS,monitoring/zabbix-agent)
@$(call add,MAIN_LISTS,cert-ru)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
endif
@$(call add,STAGE2_BOOTARGS,mpath)
@$(call add,LIVE_PACKAGES,installer-feature-multipath)
@$(call add,SYSTEM_PACKAGES,multipath-tools)
@$(call add,SERVICES_ENABLE,multipathd)
@$(call add,LIVE_PACKAGES,strace)
@$(call add,LIVE_PACKAGES,fdisk)
@$(call add,LIVE_PACKAGES,btrfs-progs)
@$(call add,STAGE2_BRANDING,notes)
@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
ifeq (,$(filter-out e2k,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-4.4)
endif
ifeq (,$(filter-out e2kv4,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-80x)
endif
2021-07-08 08:52:55 +03:00
ifeq (,$(filter-out e2kv5,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-90x)
endif
ifeq (,$(filter-out e2kv6,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-160x)
endif
ifeq (,$(filter-out x86_64 i586,$(ARCH)))
distro/alt-server:: use/memtest; @:
endif
ifeq (,$(filter-out x86_64 aarch64 loongarch64,$(ARCH)))
distro/alt-server:: +efi; @:
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/alt-server:: +power +net-eth; @:
endif
endif