mkimage-profiles/conf.d/alt-server.mk
Michael Shigorin 46bc1f68c7 conf.d/{mixin-,}alt-server.mk: initial release
- ported from m-p-d;
- generalized mediawiki, use/volumes/cliff-server;
- added centaurus/disk;
- dropped ganeti (no more in p9);
- x86 builds (both of them);
- e2k builds (ditto).
2020-05-22 19:48:06 +03:00

45 lines
1.4 KiB
Makefile

ifeq (distro,$(IMAGE_CLASS))
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
distro/alt-server: server_groups_x86 = $(addprefix centaurus/,\
blogs emulators gnome-peer-to-peer freeipa-server freenx-server \
ipmi v12n-server netinst sogo virt-manager)
ifeq (,$(filter-out x86_64,$(ARCH)))
distro/alt-server: server_groups_x86_64 = $(addprefix centaurus/,\
40-pve 60-openstack openstack-block openstack-compute \
openstack-controller openstack-network openstack-storage)
endif
# FIXME: generalize vm-profile
distro/alt-server: distro/.base mixin/alt-server +efi +vmguest \
use/efi/refind use/memtest use/bootloader/grub use/rescue/base \
use/docs/license
@$(call add,MAIN_GROUPS,$(server_groups_x86))
@$(call add,MAIN_GROUPS,$(server_groups_x86_64))
@$(call add,MAIN_LISTS,centaurus/cluster)
@$(call add,MAIN_LISTS,centaurus/disk-dvd)
@$(call add,MAIN_LISTS,centaurus/disk-server-light)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/alt-server: distro/.e2k-installer mixin/alt-server
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
endif
endif