diff --git a/conf.d/alt-server.mk b/conf.d/alt-server.mk new file mode 100644 index 00000000..dcdd7ffc --- /dev/null +++ b/conf.d/alt-server.mk @@ -0,0 +1,44 @@ +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 diff --git a/conf.d/mixin-alt-server.mk b/conf.d/mixin-alt-server.mk new file mode 100644 index 00000000..1a6cecc2 --- /dev/null +++ b/conf.d/mixin-alt-server.mk @@ -0,0 +1,47 @@ +mixin/alt-server: server_groups = $(addprefix centaurus/,\ + 10-alterator 20-server-apps 30-cups 50-freeipa 70-dev 80-desktop 90-docs sambaDC bacula-client-a bacula-client bacula bacula-server buildsystem dhcp-server-a diag-tools dns-server-a ftp-server-a graphics-editing gtk-dictionary mail-server-a mate mediawiki monitoring office owncloud pidgin publishing remmina scanning sound-editing vlc xorg domain-server freeipa-client samba) + +mixin/alt-server: +installer +systemd \ + use/branding/complete use/control use/services \ + use/l10n/default/ru_RU use/install2/stage3 \ + use/install2/vnc use/install2/xfs use/install2/fat \ + use/volumes/cliff-server \ + use/apt-conf/branch \ + use/fonts/install2 \ + use/install2/stage3 \ + use/kernel/desktop \ + use/firmware/server \ + use/net/etcnet + @$(call set,DOCS,alt-server) + @$(call set,INSTALLER,centaurus) + @$(call set,BRANDING,alt-server) + @$(call add,BASE_LISTS,centaurus/base) + @$(call add,BASE_LISTS,centaurus/base-server) + @$(call add,LIVE_LISTS,centaurus/live) + @$(call add,LIVE_LISTS,centaurus/remmina) + @$(call add,LIVE_LISTS,centaurus/cups) + @$(call add,LIVE_LISTS,centaurus/nm) + @$(call add,LIVE_LISTS,centaurus/domain-client) + @$(call add,MAIN_GROUPS,$(server_groups)) + @$(call add,MAIN_LISTS,centaurus/cppcheck) + @$(call add,MAIN_LISTS,centaurus/disk) + @$(call add,THE_PROFILES,centaurus/10-server) + @$(call add,THE_PROFILES,centaurus/20-serverDC) + @$(call add,THE_PROFILES,centaurus/30-desktop) + @$(call add,THE_PROFILES,minimal) + @$(call add,STAGE1_MODLISTS,stage2-mmc) + @$(call add,INSTALL2_PACKAGES,installer-feature-multipath) + @$(call add,INSTALL2_PACKAGES,installer-feature-desktop-other-fs-stage2) + @$(call add,INSTALL2_PACKAGES,installer-feature-alphabet-profiles) + @$(call add,INSTALL2_PACKAGES,installer-feature-load-tun) + @$(call add,INSTALL2_PACKAGES,installer-feature-network-shares-stage3) + @$(call add,INSTALL2_PACKAGES,installer-feature-auto-domain) + @$(call add,INSTALL2_PACKAGES,fdisk) + @$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics) + @$(call add,COMMON_PACKAGES,vim-console) + @$(call add,CLEANUP_PACKAGES,xterm) + @$(call add,DEFAULT_SERVICES_ENABLE,rpcbind sshd bind) + @$(call set,META_PUBLISHER,BaseALT Ltd) + @$(call set,META_VOL_SET,ALT) + @$(call set,META_VOL_ID,ALT Server) + @$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))