2018-08-10 16:37:37 +03:00
i f e q ( d i s t r o , $( IMAGE_CLASS ) )
2020-05-25 17:09:20 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64 ppc 64le aarch 64,$ ( ARCH ) ) )
2020-08-24 12:19:07 +03:00
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
i f e q ( , $( filter -out x 86_ 64 ppc 64le aarch 64,$ ( ARCH ) ) )
2020-08-24 12:19:07 +03:00
distro/alt-server : server_groups_virtipa = $( addprefix centaurus /,\
v12n-server freeipa-server)
2019-09-03 16:11:47 +03:00
e n d i f
2019-07-04 14:31:18 +03:00
e n d i f
2018-08-10 16:37:37 +03:00
2020-08-24 12:19:07 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64 ppc 64le aarch 64 e 2k %,$ ( ARCH ) ) )
distro/alt-server : server_groups_desktop = $( addprefix centaurus /,\
80-desktop emulators freenx-server mate office pidgin vlc xorg)
2019-07-15 18:50:21 +03:00
e n d i f
2020-08-24 12:19:07 +03:00
i f e q ( , $( filter -out x 86_ 64 i 586,$ ( ARCH ) ) )
distro/alt-server :: use /memtest
e n d i f
i f e q ( , $( filter -out x 86_ 64 aarch 64,$ ( ARCH ) ) )
distro/alt-server :: use /efi /refind +efi
e n d i f
i f e q ( , $( filter -out ppc 64le aarch 64 e 2k %,$ ( ARCH ) ) )
distro/alt-server :: use /install 2/vnc /listen ; @:
e n d i f
2020-08-21 21:34:32 +03:00
2018-08-10 16:37:37 +03:00
# FIXME: generalize vm-profile
2020-08-24 12:19:07 +03:00
distro/alt-server :: distro /.base mixin /alt -server use /vmguest /base \
2019-10-31 15:00:50 +03:00
use/bootloader/grub use/rescue/base use/stage2/kms\
2020-05-25 17:37:14 +03:00
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb \
2018-08-10 16:37:37 +03:00
use/docs/license
2020-08-24 12:19:07 +03:00
@$( call add,MAIN_GROUPS,$( server_groups_primary) )
@$( call add,MAIN_GROUPS,$( server_groups_virtipa) )
@$( call add,MAIN_GROUPS,$( server_groups_desktop) )
2018-08-10 16:37:37 +03:00
@$( call add,MAIN_LISTS,centaurus/disk-dvd)
@$( call add,MAIN_LISTS,centaurus/disk-server-light)
2020-08-24 12:19:07 +03:00
i f n e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
2018-08-10 16:37:37 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
2020-08-24 12:19:07 +03:00
e n d i f
2020-08-30 17:30:05 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2020-06-08 18:06:07 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-setup-plymouth)
2020-08-30 17:30:05 +03:00
e n d i f
2019-09-11 13:11:08 +03:00
@$( call add,INSTALL2_PACKAGES,strace)
2020-05-26 05:12:41 +03:00
@$( call add,INSTALL2_PACKAGES,fdisk)
2020-06-08 18:06:07 +03:00
@$( call add,INSTALL2_BRANDING,notes)
2018-08-10 16:37:37 +03:00
@$( 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)
i f e q ( , $( filter -out e 2k ,$ ( ARCH ) ) )
@$( call set,META_APP_ID,ALT Server for Elbrus-4.4)
e n d i f
i f e q ( , $( filter -out e 2kv 4,$ ( ARCH ) ) )
@$( call set,META_APP_ID,ALT Server for Elbrus-80x)
e n d i f
2020-08-24 12:19:07 +03:00
distro/alt-server :: monitoring = $( addprefix server -v /, 90-monitoring \
zabbix-agent telegraf prometheus-node_exporter monit collectd nagios-nrpe)
2018-08-10 16:37:37 +03:00
e n d i f