2012-12-26 00:06:26 +04:00
# regular build/usage images
i f e q ( d i s t r o , $( IMAGE_CLASS ) )
2015-02-17 20:13:45 +03:00
# common ground (really lowlevel)
2016-04-11 20:59:16 +03:00
distro/.regular-bare : distro /.base +net -eth use /kernel /net use /docs /license
2013-03-03 23:54:53 +04:00
@$( call try,SAVE_PROFILE,yes)
2015-02-17 20:13:45 +03:00
# base target (for most images)
2018-11-13 18:53:18 +03:00
distro/.regular-base : distro /.regular -bare use /vmguest use /memtest +efi
@$( call add,STAGE1_MODLISTS,stage2-mmc)
2015-02-17 20:13:45 +03:00
2013-05-30 21:06:39 +04:00
# graphical target (not enforcing xorg drivers or blobs)
2018-12-24 14:47:23 +03:00
distro/.regular-x11 : distro /.regular -base \
use/x11/wacom use/x11/amdgpu +vmguest +wireless \
2018-10-15 20:57:59 +03:00
use/stage2/cifs use/live/rw use/live/x11 use/live/repo \
2018-12-24 14:47:23 +03:00
use/live/install use/live/suspend use/browser/firefox/live
@$( call add,LIVE_PACKAGES,livecd-install-apt-cache)
2013-04-22 23:29:41 +04:00
@$( call add,LIVE_LISTS,$( call tags,base rescue) )
2013-09-27 20:15:02 +04:00
@$( call add,LIVE_PACKAGES,gpm livecd-install-apt-cache)
2017-08-02 21:46:01 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
2015-03-09 21:23:22 +03:00
@$( call add,EFI_BOOTARGS,live_rw)
2013-05-30 21:06:39 +04:00
# WM base target
2018-12-24 14:47:23 +03:00
distro/.regular-wm : distro /.regular -x 11 mixin /regular -x 11 \
2019-04-12 13:44:58 +03:00
mixin/regular-desktop use/efi/refind; @:
2012-12-26 00:06:26 +04:00
2013-02-21 12:13:06 +04:00
# DE base target
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
2015-02-17 19:43:21 +03:00
distro/.regular-desktop : distro /.regular -wm \
2019-04-12 13:44:58 +03:00
use/syslinux/ui/gfxboot use/firmware/laptop +systemd
2013-02-21 12:13:06 +04:00
@$( call add,THE_BRANDING,bootloader)
2018-12-24 14:56:00 +03:00
@$( call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2)
2013-02-21 12:13:06 +04:00
@$( call set,KFLAVOURS,std-def)
2018-07-08 20:38:23 +03:00
distro/.regular-gtk : distro /.regular -desktop use /x 11/lightdm /slick +plymouth ; @:
2019-04-08 14:37:14 +03:00
distro/.regular-sysv : distro /.regular -wm +elogind ; @:
2014-03-10 22:26:16 +04:00
distro/.regular-sysv-gtk : distro /.regular -sysv use /syslinux /ui /gfxboot \
2014-03-28 13:45:09 +04:00
use/x11/gdm2.20; @:
2012-12-26 00:06:26 +04:00
2015-02-17 19:57:58 +03:00
distro/.regular-install : distro /.regular -base +installer +sysvinit +power \
2014-06-03 22:04:53 +04:00
use/branding use/bootloader/grub use/luks \
2019-04-12 13:44:58 +03:00
use/install2/fs use/install2/vnc use/install2/repo \
use/efi/refind
2017-12-11 23:49:43 +03:00
@$( call add,INSTALL2_PACKAGES,fdisk)
2017-12-11 23:51:31 +03:00
@$( call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
2013-11-28 17:38:17 +04:00
@$( call add,THE_LISTS,$( call tags,base regular) )
2013-11-13 17:42:01 +04:00
@$( call add,INSTALL2_BRANDING,alterator notes)
@$( call add,THE_BRANDING,alterator)
2013-11-13 20:38:57 +04:00
2016-01-29 16:00:07 +03:00
# common base for the very bare distros
2017-03-31 21:43:06 +03:00
distro/.regular-jeos-base : distro /.regular -bare +sysvinit \
use/isohybrid use/branding use/bootloader/grub \
2015-03-02 19:18:43 +03:00
use/install2/repo use/install2/packages \
2017-03-31 21:43:06 +03:00
use/net/etcnet use/power/acpi/button
@$( call set,BOOTVGA,)
2014-02-26 18:26:31 +04:00
@$( call set,INSTALLER,altlinux-generic)
@$( call add,INSTALL2_BRANDING,alterator notes)
@$( call add,THE_BRANDING,alterator) # just to be cleaned up later on
2016-01-29 16:00:07 +03:00
@$( call add,THE_PACKAGES,apt basesystem dhcpcd vim-console)
@$( call add,THE_LISTS,openssh)
2017-03-31 21:43:06 +03:00
# ...and for somewhat bare distros
distro/.regular-jeos : distro /.regular -jeos -base \
use/bootloader/lilo use/syslinux/lateboot.cfg \
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
use/cleanup/jeos
@$( call add,BASE_KMODULES,guest scsi vboxguest)
@$( call add,BASE_PACKAGES,make-initrd-mdadm cpio)
2016-01-29 16:00:07 +03:00
# NB:
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
distro/regular-jeos : distro /.regular -jeos use /cleanup /jeos /full \
2018-08-08 18:16:57 +03:00
use/volumes/jeos use/install2/vmguest use/vmguest/base
2018-03-11 20:26:53 +03:00
@$( call add,BASE_PACKAGES,nfs-utils gdisk)
2016-04-21 12:11:57 +03:00
@$( call add,MAIN_PACKAGES,firmware-linux)
2018-03-11 19:59:23 +03:00
@$( call add,CLEANUP_PACKAGES,libffi 'libltdl*' )
2016-01-29 16:00:07 +03:00
@$( call add,CLEANUP_PACKAGES,bridge-utils)
2018-03-11 19:14:03 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,fbsetfont)
2015-03-09 21:17:18 +03:00
@$( call add,STAGE2_BOOTARGS,quiet)
2016-04-21 12:07:54 +03:00
@$( call set,KFLAVOURS,un-def)
2014-02-26 18:26:31 +04:00
2016-01-29 16:00:07 +03:00
# NB: no +efi as it brings in grub2 (no ELILO support for system boot)
2016-01-29 22:36:30 +03:00
distro/regular-jeos-ovz : distro /.regular -jeos \
use/server/ovz-base use/control/server/ldv use/firmware
2016-01-29 16:00:07 +03:00
@$( call add,THE_PACKAGES,ipmitool lm_sensors3 mailx)
2019-03-13 22:00:47 +03:00
distro/.regular-install-x11 : distro /.regular -install +vmguest +wireless \
use/install2/suspend mixin/regular-desktop mixin/regular-x11
2013-12-23 22:49:15 +04:00
@$( call set,INSTALLER,altlinux-desktop)
2013-11-13 17:42:01 +04:00
2016-12-03 21:15:24 +03:00
# assumes somewhat more experienced user, mostly for sysv variants
distro/.regular-install-x11-full : distro /.regular -install -x 11 \
mixin/desktop-installer mixin/regular-desktop use/install2/fs \
2017-12-11 23:48:59 +03:00
use/fonts/otf/adobe use/fonts/otf/mozilla use/fonts/chinese \
2016-12-03 21:15:24 +03:00
use/branding/complete use/branding/slideshow/once \
2019-04-12 13:44:58 +03:00
use/net-eth/dhcp use/efi/shell use/rescue/base \
2019-04-08 14:37:14 +03:00
use/init/sysv/elogind
2016-12-03 21:15:24 +03:00
@$( call add,RESCUE_LISTS,$( call tags,rescue misc) )
@$( call add,MAIN_PACKAGES,anacron man-whatis usb-modeswitch)
2018-06-04 22:27:57 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,alteratord)
2016-12-03 21:15:24 +03:00
2019-01-07 09:16:15 +03:00
distro/regular-icewm : distro /.regular -sysv -gtk mixin /regular -icewm \
2019-04-12 13:44:58 +03:00
use/browser/chromium
2013-12-24 14:51:13 +04:00
@$( call set,KFLAVOURS,un-def)
2013-01-16 23:05:35 +04:00
2014-03-26 19:58:00 +04:00
# wdm can't do autologin so add standalone one for livecd
distro/regular-wmaker : distro /.regular -sysv \
2016-09-06 23:09:53 +03:00
mixin/regular-wmaker use/live/autologin use/browser/palemoon/i18n
2015-10-29 17:57:44 +03:00
@$( call add,LIVE_PACKAGES,wdm wmxkbru)
2013-03-01 21:08:33 +04:00
2014-03-26 19:58:00 +04:00
distro/regular-gnustep : distro /.regular -sysv \
mixin/regular-wmaker mixin/regular-gnustep; @:
2015-02-17 19:43:21 +03:00
distro/regular-gnustep-systemd : distro /.regular -wm +systemd \
2014-03-26 19:58:00 +04:00
mixin/regular-wmaker mixin/regular-gnustep; @:
2016-12-03 20:59:14 +03:00
distro/regular-xfce : distro /.regular -gtk mixin /regular -xfce \
2017-06-01 14:19:55 +03:00
use/x11/xfce/full use/domain-client
2016-11-08 20:42:23 +03:00
@$( call set,KFLAVOURS,un-def)
2013-02-26 20:43:24 +04:00
2016-12-03 21:25:40 +03:00
distro/regular-xfce-sysv : distro /.regular -sysv -gtk \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
2015-03-29 17:57:16 +03:00
2019-04-09 18:15:25 +03:00
distro/regular-lxde : distro /.regular -gtk mixin /regular -lxde ; @:
distro/regular-lxde-sysv : distro /.regular -sysv -gtk mixin /regular -lxde ; @:
2017-07-30 13:37:57 +03:00
2013-02-27 01:32:50 +04:00
distro/regular-xmonad : distro /.regular -gtk use /x 11/xmonad
@$( call add,LIVE_PACKAGES,livecd-regular-xmonad)
2013-02-18 01:53:06 +04:00
2018-12-12 10:24:31 +03:00
distro/regular-mate : distro /.regular -gtk mixin /regular -mate use /domain -client
2017-06-01 16:22:20 +03:00
@$( call add,LIVE_LISTS,$( call tags,base smartcard) )
2012-12-26 00:06:26 +04:00
2018-12-12 10:24:31 +03:00
distro/regular-mate-sysv : distro /.regular -sysv -gtk mixin /regular -mate ; @:
2017-12-21 07:37:12 +03:00
2018-02-04 02:46:23 +03:00
distro/regular-enlightenment : distro /.regular -gtk use /x 11/enlightenment ; @:
2015-10-29 16:56:47 +03:00
distro/regular-enlightenment-sysv : distro /.regular -sysv -gtk \
2015-11-16 21:46:40 +03:00
use/x11/enlightenment
2016-08-15 13:21:18 +03:00
@$( call set,META_VOL_ID,ALT regular-E-SysV/$( ARCH) ) # see also #28271
2013-12-09 22:46:19 +04:00
2018-02-04 02:46:23 +03:00
distro/regular-cinnamon : distro /.regular -gtk use /x 11/cinnamon \
use/fonts/ttf/google use/net/nm/mmgui use/im
2018-01-23 14:18:03 +03:00
@$( call add,THE_PACKAGES,thunderbird-ru) ### l10n
2012-12-26 00:06:26 +04:00
2014-03-18 13:52:44 +04:00
# not .regular-gtk due to gdm vs lightdm
2015-02-18 18:44:51 +03:00
distro/regular-gnome3 : distro /.regular -desktop +plymouth +nm \
use/x11/gnome3 use/browser/epiphany use/fonts/ttf/redhat
2015-11-16 21:42:50 +03:00
@$( call set,KFLAVOURS,un-def)
2016-05-16 09:18:14 +03:00
@$( call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
2015-09-06 14:45:28 +03:00
@$( call add,LIVE_PACKAGES,gnome3-regular xcalib templates)
2017-09-08 17:38:14 +03:00
@$( call add,LIVE_PACKAGES,gnome-flashback screenpen)
2018-05-21 03:06:26 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,gdm)
2013-01-15 19:00:59 +04:00
2019-01-11 07:27:01 +03:00
distro/regular-lxqt : distro /.regular -desktop mixin /regular -lxqt +plymouth \
2019-01-28 11:47:23 +03:00
use/browser/falkon
@$( call add,THE_LISTS,$( call tags,lxqt desktop) )
2014-10-29 18:09:43 +03:00
distro/regular-lxqt-sysv : distro /.regular -sysv mixin /regular -lxqt \
2019-04-12 13:44:58 +03:00
use/net-eth/dhcp; @:
2014-05-13 22:23:21 +04:00
2018-04-11 16:16:40 +03:00
distro/regular-kde5 : distro /.regular -desktop use /browser /falkon \
2017-06-01 14:19:55 +03:00
use/x11/kde5 use/x11/sddm use/domain-client \
2015-09-18 21:12:24 +03:00
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
+nm +pulse +plymouth
2018-04-11 16:16:40 +03:00
@$( call add,THE_PACKAGES,kde5-telepathy falkon-kde5)
2015-12-04 15:09:56 +03:00
@$( call set,THE_IMAGEWRITER,rosa-imagewriter)
2015-04-20 22:06:44 +03:00
2016-01-05 17:27:50 +03:00
distro/regular-robo : distro /regular -mate +robotics use /live /ru ; @:
2017-04-14 19:00:42 +03:00
distro/regular-rescue : distro /.regular -base mixin /regular -rescue \
use/rescue/rw use/efi/refind use/efi/shell use/efi/memtest86 \
use/hdt use/syslinux/rescue_fm.cfg use/syslinux/rescue_remote.cfg \
use/mediacheck +wireless
2013-12-24 14:51:13 +04:00
@$( call set,KFLAVOURS,un-def)
2015-06-01 15:26:14 +03:00
@$( call add,RESCUE_PACKAGES,gpm livecd-net-eth)
2017-06-01 16:16:05 +03:00
@$( call add,RESCUE_LISTS,$( call tags,base bench) )
2015-12-05 13:31:40 +03:00
@$( call add,RESCUE_LISTS,$( call tags,network security) )
2013-03-03 23:54:53 +04:00
2017-04-14 19:00:42 +03:00
distro/regular-rescue-netbootxyz : distro /.regular -bare mixin /regular -rescue
@$( call set,RELNAME,en.altlinux.org/rescue ( netboot.xyz edition) )
@$( call set,META_VOL_ID,ALT Rescue)
@$( call set,META_APP_ID,$( ARCH) )
2016-12-03 21:27:33 +03:00
distro/regular-sysv-xfce : distro /.regular -install -x 11-full \
2018-06-04 22:48:39 +03:00
mixin/regular-xfce mixin/regular-xfce-sysv
@$( call add,THE_PACKAGES,nload)
@$( call add,MAIN_PACKAGES,caffeine-ng sysstat leafpad)
2016-12-03 21:27:33 +03:00
2016-05-30 14:31:22 +03:00
distro/.regular-server-base : distro /.regular -install \
use/server/base use/stage2/kms
2017-02-03 16:01:21 +03:00
@$( call add,THE_LISTS,$( call tags,server && ( regular || network) ) )
2013-10-14 14:25:29 +04:00
@$( call set,INSTALLER,altlinux-server)
2016-12-05 22:11:36 +03:00
@$( call add,SYSTEM_PACKAGES,multipath-tools)
2016-12-08 14:41:03 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-multipath)
2016-05-30 14:31:22 +03:00
2018-06-11 15:42:48 +03:00
distro/.regular-server-systemd : distro /.regular -server -base +systemd ; @:
2016-05-30 14:31:22 +03:00
distro/.regular-server : distro /.regular -server -base \
2018-06-11 15:42:48 +03:00
use/server/mini use/firmware/qlogic use/rescue/base \
use/ntp/client use/cleanup/libs
2017-02-13 16:22:43 +03:00
@$( call add,RESCUE_LISTS,$( call tags,rescue misc) )
2016-05-30 14:31:22 +03:00
@$( call add,MAIN_PACKAGES,aptitude)
2015-03-09 21:52:34 +03:00
@$( call add,CLEANUP_PACKAGES,qt4-common)
2015-03-10 13:46:59 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,bridge)
2013-05-24 17:37:49 +04:00
2015-03-12 00:39:47 +03:00
distro/.regular-server-managed : distro /.regular -server
2014-06-11 22:21:41 +04:00
@$( call add,THE_PACKAGES,alterator-fbi)
2014-06-10 18:57:44 +04:00
@$( call add,THE_LISTS,$( call tags,server alterator) )
2016-04-27 14:30:31 +03:00
@$( call add,INSTALL2_PACKAGES,ntfs-3g)
2014-09-08 22:17:12 +04:00
@$( call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
2015-03-12 00:39:47 +03:00
2017-02-01 18:37:37 +03:00
distro/regular-server : distro /.regular -server -managed \
2018-02-19 13:22:07 +03:00
use/server/groups/base use/dev/groups/builder use/install2/vnc/full
2016-06-01 09:54:19 +03:00
@$( call add,MAIN_GROUPS,server/sambaDC)
@$( call add,MAIN_GROUPS,tools/hyperv)
2016-04-20 18:44:10 +03:00
distro/regular-server-ovz : distro /.regular -server \
use/server/ovz use/server/groups/tools use/cleanup/x11-alterator
2016-06-01 09:54:19 +03:00
@$( call add,MAIN_GROUPS,tools/vzstats)
2015-03-12 00:39:47 +03:00
distro/regular-server-hyperv : distro /.regular -server -managed
@$( call set,KFLAVOURS,un-def)
@$( call add,THE_PACKAGES,hyperv-daemons)
2016-03-10 19:15:04 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,bridge smartd)
@$( call add,DEFAULT_SERVICES_DISABLE,cpufreq-simple powertop)
2014-03-18 21:12:21 +04:00
2015-12-24 21:00:09 +03:00
distro/.regular-server-openstack : distro /.regular -server -base \
use/firmware/qlogic use/server/groups/openstack
2016-06-01 09:54:19 +03:00
@$( call add,MAIN_GROUPS,tools/ipmi tools/monitoring)
2015-12-24 21:00:09 +03:00
distro/regular-server-openstack : distro /.regular -server -openstack +systemd ; @:
2018-03-18 00:38:59 +03:00
@$( call add,THE_PACKAGES,dhcpcd)
2015-12-24 21:00:09 +03:00
distro/regular-server-openstack-sysv : distro /.regular -server -openstack +sysvinit
@$( call add,DEFAULT_SERVICES_DISABLE,lvm2-lvmetad)
2018-06-11 15:42:48 +03:00
distro/regular-server-pve : distro /.regular -server -systemd \
2018-08-10 14:15:42 +03:00
use/kernel/server use/firmware/qlogic +efi
2016-06-07 18:55:00 +03:00
@$( call set,BASE_BOOTLOADER,grub)
@$( call set,INSTALLER,altlinux-server)
2016-10-31 21:41:32 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-pve)
2016-12-12 17:22:38 +03:00
@$( call add,THE_PACKAGES,pve-manager nfs-clients su)
2016-12-12 01:17:19 +03:00
@$( call add,THE_PACKAGES,bridge-utils dhcpcd faketime tzdata postfix)
2016-09-22 15:27:11 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,pve-manager pve-cluster \
pve-firewall pve-ha-crm pve-manager pveproxy pvedaemon \
pvefw-logger pve-ha-lrm pvenetcommit pvestatd spiceproxy)
2016-06-07 18:55:00 +03:00
2019-03-21 08:55:20 +03:00
distro/regular-builder : distro /.regular -bare mixin /regular -builder \
2015-02-17 20:13:45 +03:00
use/dev/builder/full +sysvinit +efi +power \
2014-12-10 22:16:11 +03:00
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
2019-03-21 08:55:20 +03:00
use/isohybrid use/syslinux/timeout/30 use/stage2/net-eth
@$( call add,THE_PACKAGES,ccache cifs-utils wodim)
2014-12-10 22:16:11 +03:00
2017-03-09 12:23:55 +03:00
distro/regular-server-samba4 : distro /.regular -server -managed
2015-11-06 19:01:02 +03:00
@$( call add,THE_LISTS,$( call tags,server && ( sambaDC || alterator) ) )
2017-03-09 12:23:55 +03:00
@$( call add,THE_PACKAGES,alterator-dhcp)
2015-11-16 17:34:47 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,smbd nmbd winbind)
2014-09-30 17:36:01 +04:00
2016-03-05 21:28:49 +03:00
distro/regular-server-lxd : distro /.regular -bare \
2016-08-25 14:30:39 +03:00
use/isohybrid +power \
2016-03-05 21:28:49 +03:00
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
use/lxc/lxd use/tty/S0 \
use/init/systemd/multiuser
@$( call set,KFLAVOURS,un-def)
@$( call add,DEFAULT_SERVICES_ENABLE,sshd)
2016-08-25 14:30:39 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,lxd-startup lxd-bridge lxcfs cgmanager)
2016-03-05 21:28:49 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$( call add,DEFAULT_SERVICES_ENABLE,livecd-net-eth)
2017-09-09 06:15:11 +03:00
distro/regular-engineering : distro /regular -lxde use /live /ru
@$( call add,THE_LISTS,$( call tags,engineering desktop) )
2018-02-26 16:54:12 +03:00
@$( call add,THE_LISTS,$( call tags,desktop sane) )
@$( call add,THE_LISTS,$( call tags,cups desktop) )
2018-06-15 09:56:26 +03:00
@$( call add,THE_PACKAGES,libreofficekit LibreOffice-gnome LibreOffice-langpack-ru)
@$( call add,THE_PACKAGES,LibreOffice-mimetypes java)
2017-09-09 06:15:11 +03:00
@$( call add,THE_PACKAGES,gnome-disk-utility)
2018-02-26 16:54:12 +03:00
@$( call add,THE_KMODULES,staging)
2017-09-09 06:15:11 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,cups)
@$( call add,DEFAULT_SERVICES_ENABLE,ModemManager)
2012-12-26 00:06:26 +04:00
e n d i f
2018-08-14 20:44:58 +03:00
i f e q ( v e , $( IMAGE_CLASS ) )
ve/docker-sisyphus : ve /docker ; @:
e n d i f