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)
2020-02-09 17:50:37 +03:00
distro/.regular-bare : distro /.base +net -eth use /kernel /net use /docs /license \
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
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)
2020-02-09 17:50:37 +03:00
distro/.regular-base : distro /.regular -bare use /vmguest use /memtest +efi ; @:
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)
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 \
2020-11-16 05:44:02 +03:00
mixin/regular-desktop use/syslinux/ui/gfxboot
2019-05-28 19:51:19 +03:00
@$( call add,THE_BRANDING,bootloader)
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
2020-03-19 08:12:08 +03:00
distro/.regular-desktop : distro /.regular -wm use /branding /full \
2020-11-23 13:03:45 +03:00
use/firmware/laptop +systemd +systemd-optimal
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)
2020-02-15 21:01:10 +03:00
distro/.regular-gtk : distro /.regular -desktop use /x 11/lightdm /gtk +plymouth ; @:
2019-04-08 14:37:14 +03:00
2019-11-16 21:15:02 +03:00
distro/.regular-desktop-sysv : distro /.regular -wm use /init /sysv /polkit ; @:
distro/.regular-gtk-sysv : distro /.regular -desktop -sysv \
use/syslinux/ui/gfxboot use/x11/gdm2.20; @:
2012-12-26 00:06:26 +04:00
2019-11-18 17:22:06 +03:00
distro/.regular-install : distro /.regular -base +installer \
2019-12-31 14:32:48 +03:00
use/branding use/bootloader/grub use/luks use/stage2/kms \
2020-03-02 06:48:24 +03:00
use/install2/fs use/install2/vnc use/install2/repo
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
2019-11-18 17:22:06 +03:00
distro/.regular-jeos-base : distro /.regular -bare \
2019-12-30 18:29:08 +03:00
use/isohybrid use/branding \
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
2019-09-03 18:45:42 +03:00
@$( call add,THE_PACKAGES,apt basesystem dhcpcd vim-console su agetty)
2016-01-29 16:00:07 +03:00
@$( call add,THE_LISTS,openssh)
2017-03-31 21:43:06 +03:00
# ...and for somewhat bare distros
2019-12-30 18:29:08 +03:00
distro/.regular-jeos : distro /.regular -jeos -base use /stage 2/kms \
2017-03-31 21:43:06 +03:00
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
2019-12-30 18:29:08 +03:00
use/syslinux/lateboot.cfg use/cleanup/jeos
2017-03-31 21:43:06 +03:00
@$( call add,BASE_PACKAGES,make-initrd-mdadm cpio)
2019-12-30 18:29:08 +03:00
distro/.regular-jeos-full : distro /.regular -jeos \
2020-05-27 21:05:45 +03:00
use/volumes/jeos use/ntp/chrony use/bootloader/grub +efi
2018-03-11 20:26:53 +03:00
@$( call add,BASE_PACKAGES,nfs-utils gdisk)
2020-02-15 21:01:10 +03:00
@$( call add,INSTALL2_PACKAGES,fdisk)
2020-09-05 22:58:25 +03:00
i f e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
@$( call add,CLEANUP_PACKAGES,acpid-events-power)
e l s e
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)
2020-05-27 21:46:30 +03:00
@$( call set,KFLAVOURS,std-def)
2020-09-05 22:58:25 +03:00
e n d i f
@$( call add,DEFAULT_SERVICES_DISABLE,fbsetfont)
2020-05-27 21:25:56 +03:00
@$( call add,BASE_KMODULES,drm)
2014-02-26 18:26:31 +04:00
2019-12-30 18:29:08 +03:00
# NB:
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
distro/regular-jeos-sysv : distro /.regular -jeos -full use /cleanup /jeos /full \
2020-05-27 20:01:22 +03:00
+sysvinit
@$( call add,BASE_PACKAGES,apt-conf-ignore-systemd)
2019-12-30 18:29:08 +03:00
2020-02-07 20:28:44 +03:00
distro/regular-jeos-systemd : distro /.regular -jeos -full \
2020-02-16 22:41:18 +03:00
+systemd +systemd-optimal
@$( call add,BASE_PACKAGES,glibc-locales)
2019-12-30 18:29:08 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2016-01-29 16:00:07 +03:00
# NB: no +efi as it brings in grub2 (no ELILO support for system boot)
2019-12-30 18:29:08 +03:00
distro/regular-jeos-ovz : distro /.regular -jeos use /cleanup /jeos /full +sysvinit \
use/server/ovz-base use/control/server/ldv use/firmware use/bootloader/lilo
2016-01-29 16:00:07 +03:00
@$( call add,THE_PACKAGES,ipmitool lm_sensors3 mailx)
2019-12-30 18:29:08 +03:00
e n d i f
2016-01-29 16:00:07 +03:00
2019-03-13 22:00:47 +03:00
distro/.regular-install-x11 : distro /.regular -install +vmguest +wireless \
2019-11-18 17:22:06 +03:00
use/install2/suspend mixin/regular-desktop mixin/regular-x11 \
2020-11-16 05:44:02 +03:00
use/branding/complete use/branding/slideshow/once
2013-12-23 22:49:15 +04:00
@$( call set,INSTALLER,altlinux-desktop)
2013-11-13 17:42:01 +04:00
2019-11-18 17:22:06 +03:00
# assumes somewhat more experienced user
2016-12-03 21:15:24 +03:00
distro/.regular-install-x11-full : distro /.regular -install -x 11 \
2017-12-11 23:48:59 +03:00
use/fonts/otf/adobe use/fonts/otf/mozilla use/fonts/chinese \
2019-11-18 17:22:06 +03:00
mixin/desktop-installer use/install2/fs use/efi/shell use/rescue/base
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)
2019-11-16 21:40:39 +03:00
distro/regular-icewm-sysv : distro /.regular -gtk -sysv mixin /regular -icewm \
2020-09-05 23:01:01 +03:00
use/browser/chromium use/kernel/latest; @:
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
2019-11-16 21:40:39 +03:00
distro/regular-wmaker-sysv : distro /.regular -desktop -sysv \
2019-10-02 14:35:10 +03:00
mixin/regular-wmaker use/live/autologin
2015-10-29 17:57:44 +03:00
@$( call add,LIVE_PACKAGES,wdm wmxkbru)
2013-03-01 21:08:33 +04:00
2019-11-16 21:40:39 +03:00
distro/regular-gnustep-sysv : distro /.regular -desktop -sysv \
2014-03-26 19:58:00 +04:00
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; @:
2020-09-05 23:01:01 +03:00
distro/regular-xfce : distro /.regular -gtk mixin /regular -xfce use /kernel /latest ;@:
2013-02-26 20:43:24 +04:00
2019-11-16 21:15:02 +03:00
distro/regular-xfce-sysv : distro /.regular -gtk -sysv mixin /regular -xfce -sysv ; @:
2015-03-29 17:57:16 +03:00
2019-11-16 21:40:39 +03:00
distro/regular-xfce-sysv-install : distro /.regular -install -x 11-full \
2020-02-26 06:58:47 +03:00
mixin/regular-xfce-sysv use/init/sysv/polkit use/x11/gdm2.20; @:
2019-05-21 10:11:17 +03:00
2019-04-09 18:15:25 +03:00
distro/regular-lxde : distro /.regular -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
2019-09-02 18:07:32 +03:00
distro/regular-mate : distro /.regular -gtk mixin /regular -mate ; @:
2012-12-26 00:06:26 +04:00
2020-04-07 11:19:11 +03:00
distro/regular-enlightenment : distro /.regular -gtk use /x 11/enlightenment +power ; @:
2015-10-29 16:56:47 +03:00
2019-07-03 20:01:16 +03:00
distro/regular-cinnamon : distro /.regular -gtk mixin /regular -cinnamon ; @:
2012-12-26 00:06:26 +04:00
2014-03-18 13:52:44 +04:00
# not .regular-gtk due to gdm vs lightdm
2020-09-05 23:01:01 +03:00
distro/regular-gnome3 : distro /.regular -desktop mixin /regular -gnome 3 \
use/kernel/latest +plymouth
2016-05-16 09:18:14 +03:00
@$( call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
2017-09-08 17:38:14 +03:00
@$( call add,LIVE_PACKAGES,gnome-flashback screenpen)
2013-01-15 19:00:59 +04:00
2020-05-30 20:35:44 +03:00
distro/regular-lxqt : distro /.regular -gtk mixin /regular -lxqt +plymouth
2019-01-28 11:47:23 +03:00
@$( call add,THE_LISTS,$( call tags,lxqt desktop) )
2014-10-29 18:09:43 +03:00
2020-12-09 09:03:18 +03:00
distro/regular-deepin : distro /.regular -gtk use /x 11/deepin +nm
2020-11-26 23:02:23 +03:00
@$( call add,THE_PACKAGES,deepin-regular)
2019-07-03 20:01:16 +03:00
distro/regular-kde5 : distro /.regular -desktop \
mixin/regular-kde5 use/domain-client use/x11/sddm +plymouth; @:
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 \
2020-11-16 05:44:02 +03:00
use/rescue/rw use/efi/shell use/efi/memtest86 \
2017-04-14 19:00:42 +03:00
use/hdt use/syslinux/rescue_fm.cfg use/syslinux/rescue_remote.cfg \
2020-02-17 18:50:04 +03:00
use/grub/rescue_fm.cfg use/grub/rescue_remote.cfg \
2020-09-05 23:01:01 +03:00
use/mediacheck use/stage2/kms use/kernel/latest +wireless
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) )
2019-12-31 14:32:48 +03:00
distro/.regular-server-base : distro /.regular -install use /server /base
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
distro/.regular-server : distro /.regular -server -base \
2018-06-11 15:42:48 +03:00
use/server/mini use/firmware/qlogic use/rescue/base \
2020-02-12 07:02:54 +03:00
use/ntp/chrony use/cleanup/libs use/bootloader/grub +efi
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)
2019-05-20 11:36:44 +03:00
@$( call add,CLEANUP_PACKAGES,qt4-common qt5-base-common)
2015-03-10 13:46:59 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,bridge)
2019-11-07 19:32:44 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,getty@tty1)
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
2019-11-04 18:02:36 +03:00
distro/.regular-server-full : 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)
2020-02-13 19:38:04 +03:00
@$( call add,BASE_KMODULES,staging)
2016-04-20 18:44:10 +03:00
2020-02-07 20:28:44 +03:00
distro/regular-server-systemd : distro /.regular -server -full \
+systemd +systemd-optimal; @:
2019-11-04 18:02:36 +03:00
distro/regular-server-sysv : distro /.regular -server -full +sysvinit ; @:
distro/.regular-server-ovz : distro /.regular -server \
2016-04-20 18:44:10 +03:00
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
2019-11-04 18:02:36 +03:00
distro/regular-server-ovz : distro /.regular -server -ovz +systemd ; @:
distro/regular-server-ovz-sysv : distro /.regular -server -ovz +sysvinit ; @:
2020-09-05 23:01:01 +03:00
distro/regular-server-hyperv : distro /.regular -server -managed \
use/kernel/latest +systemd
2015-03-12 00:39:47 +03:00
@$( 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
2019-11-04 18:02:36 +03:00
distro/regular-server-pve : distro /.regular -server -base +systemd \
2019-11-04 18:58:25 +03:00
use/kernel/server use/firmware/qlogic
2016-06-07 18:55:00 +03:00
@$( 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 \
2020-02-17 18:59:47 +03:00
use/dev/builder/full use/stage2/kms +sysvinit +efi +power \
2014-12-10 22:16:11 +03:00
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
2020-06-03 17:56:55 +03:00
use/isohybrid use/syslinux/timeout/300 use/grub/timeout/30 use/stage2/net-eth
2019-03-21 08:55:20 +03:00
@$( call add,THE_PACKAGES,ccache cifs-utils wodim)
2014-12-10 22:16:11 +03:00
2019-11-04 18:02:36 +03:00
distro/regular-server-samba4 : distro /.regular -server -managed +systemd
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 \
2020-09-05 23:01:01 +03:00
use/lxc/lxd use/tty/S0 use/init/systemd/multiuser use/kernel/latest
2016-03-05 21:28:49 +03:00
@$( 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)
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