2019-09-02 22:58:09 +07:00
i f e q ( v m , $( IMAGE_CLASS ) )
2022-01-20 12:21:07 +07:00
#ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
2022-01-03 22:54:03 +07:00
vm/regular-systemd : vm /systemd -net use /vmguest /kvm use /tty /S 0 \
use/deflogin/root use/net/networkd/resolved
@$( call add,BASE_PACKAGES,apt-repo)
@$( call add,BASE_PACKAGES,hasher nfs-clients git rpm-build)
@$( call add,BASE_PACKAGES,kernel-build-tools gear)
@$( call add,BASE_PACKAGES,systemd-settings-disable-kill-user-processes)
@$( call add,DEFAULT_SERVICES_ENABLE,nfs-client.target)
@$( call add,DEFAULT_SERVICES_DISABLE,consolesaver)
2022-01-20 12:21:07 +07:00
#endif
2022-01-03 22:54:03 +07:00
2019-12-02 22:58:37 +07:00
mixin/regular-vm-base : use /firmware use /ntp /chrony use /repo \
2023-01-23 21:00:46 +07:00
use/services/lvm2-disable use/wireless
2019-09-02 22:58:09 +07:00
i f n e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
@$( call add,DEFAULT_SERVICES_DISABLE,multipathd)
e n d i f
2023-02-22 00:18:49 +07:00
@$( call add,DEFAULT_SERVICES_ENABLE,sshd)
2020-05-29 10:31:04 +07:00
@$( call add,THE_PACKAGES,bash-completion mc update-kernel)
2019-09-02 22:58:09 +07:00
@$( call add,THE_PACKAGES,vim-console)
2020-10-27 16:48:47 +07:00
@$( call add,KMODULES,staging)
2019-09-02 22:58:09 +07:00
2021-09-02 23:51:03 +07:00
mixin/regular-vm-jeos : mixin /regular -vm -base use /deflogin /root \
use/net/etcnet use/net/dhcp
@$( call add,THE_PACKAGES,livecd-net-eth)
2022-08-04 12:57:20 +07:00
@$( call add,THE_LISTS, $( call tags,base && ( network || regular) ) )
2021-09-02 23:51:03 +07:00
@$( call add,DEFAULT_SERVICES_ENABLE,getty@tty1 livecd-net-eth)
2019-09-02 22:58:09 +07:00
2020-10-27 16:48:47 +07:00
mixin/regular-vm-x11 :: mixin /regular -vm -base mixin /regular -x 11 \
2023-02-14 22:16:33 +07:00
mixin/regular-desktop use/oem/vnc; @:
2020-10-27 16:48:47 +07:00
2023-01-23 22:06:48 +07:00
vm/.regular-desktop : vm /systemd mixin /regular -vm -x 11 \
2024-02-11 19:02:11 +07:00
+systemd +systemd-optimal +plymouth \
use/services/bluetooth-enable
2021-07-22 18:03:07 +07:00
@$( call add,THE_PACKAGES,bluez)
2023-01-23 21:26:19 +07:00
@$( call add,THE_PACKAGES,glmark2 glmark2-es2)
2023-11-09 11:11:06 +07:00
@$( call try,VM_SIZE,8589934592)
2019-09-02 22:58:09 +07:00
vm/.regular-desktop-sysv : vm /bare mixin /regular -vm -x 11 use /x 11/gdm 2.20 \
2021-09-02 23:51:03 +07:00
use/init/sysv/polkit +power; @:
2019-09-02 22:58:09 +07:00
vm/.regular-gtk : vm /.regular -desktop use /x 11/lightdm /gtk
2022-03-29 23:06:34 +07:00
@$( call add,THE_PACKAGES,blueman)
2019-09-02 22:58:09 +07:00
vm/.regular-qt : vm /.regular -desktop use /x 11/sddm ; @:
2021-09-02 23:51:03 +07:00
vm/regular-jeos-systemd : vm /systemd \
2020-05-29 10:31:04 +07:00
mixin/regular-vm-jeos mixin/vm-archdep
@$( call add,THE_PACKAGES,glibc-locales)
2021-12-04 21:33:26 +07:00
@$( call add,THE_PACKAGES,systemd-settings-disable-kill-user-processes)
2023-11-09 11:11:06 +07:00
@$( call try,VM_SIZE,4294967296)
2019-09-02 22:58:09 +07:00
2021-09-02 23:51:03 +07:00
vm/regular-jeos-sysv : vm /bare mixin /regular -vm -jeos mixin /vm -archdep +power ; @:
2019-09-02 22:58:09 +07:00
2022-01-15 11:07:14 +07:00
vm/regular-builder : vm /regular -jeos -systemd mixin /regular -builder +nm
@$( call add,THE_PACKAGES,NetworkManager-tui)
2019-09-02 22:58:09 +07:00
2019-11-17 01:40:39 +07:00
vm/regular-icewm-sysv : vm /.regular -desktop -sysv mixin /regular -icewm \
2021-12-24 22:48:54 +07:00
mixin/vm-archdep-x11; @:
2019-09-02 22:58:09 +07:00
2021-12-24 22:48:54 +07:00
vm/regular-cinnamon : vm /.regular -gtk mixin /regular -cinnamon mixin /vm -archdep -x 11; @:
2019-09-02 22:58:09 +07:00
2021-12-24 22:48:54 +07:00
vm/regular-deepin : vm /.regular -gtk mixin /regular -deepin mixin /vm -archdep -x 11; @:
2021-06-24 22:11:44 +07:00
2023-11-09 11:11:06 +07:00
vm/regular-gnome : vm /.regular -gtk mixin /regular -gnome mixin /vm -archdep -x 11; @:
2020-05-16 21:52:13 +07:00
2021-12-24 22:48:54 +07:00
vm/regular-lxde : vm /.regular -gtk mixin /regular -lxde mixin /vm -archdep -x 11; @:
2019-09-02 22:58:09 +07:00
2023-02-14 22:20:03 +07:00
vm/regular-mate : vm /.regular -gtk mixin /mate -base mixin /vm -archdep -x 11; @:
i f e q ( , $( filter -out mipsel riscv 64,$ ( ARCH ) ) )
2019-09-19 23:35:05 +07:00
@$( call add,THE_PACKAGES,mate-reduced-resource)
2023-02-14 22:20:03 +07:00
e n d i f
2019-09-02 22:58:09 +07:00
2023-02-14 22:20:03 +07:00
vm/regular-xfce : vm /.regular -gtk mixin /regular -xfce mixin /vm -archdep -x 11; @:
i f e q ( , $( filter -out mipsel riscv 64,$ ( ARCH ) ) )
2019-11-06 22:56:35 +07:00
@$( call add,THE_PACKAGES,xfce-reduced-resource)
2023-02-14 22:20:03 +07:00
e n d i f
2019-09-02 22:58:09 +07:00
2024-08-15 13:56:34 +03:00
vm/regular-kde : vm /.regular -gtk mixin /regular -kde mixin /vm -archdep -x 11; @:
2019-09-02 22:58:09 +07:00
2021-12-24 22:48:54 +07:00
vm/regular-lxqt : vm /.regular -gtk mixin /regular -lxqt mixin /vm -archdep -x 11; @:
2019-09-02 22:58:09 +07:00
2022-07-14 18:40:43 +07:00
i f e q ( , $( filter -out aarch 64,$ ( ARCH ) ) )
2019-10-01 19:18:42 +07:00
# Raspberry Pi 4
2021-09-05 21:42:57 +07:00
vm/regular-jeos-systemd-rpi : vm /systemd mixin /regular -vm -jeos use /tty /AMA 0 \
2020-08-05 17:05:23 +07:00
use/arm-rpi4/kernel; @:
2019-10-01 19:18:42 +07:00
2021-09-05 21:42:57 +07:00
vm/regular-jeos-sysv-rpi : vm /bare mixin /regular -vm -jeos use /tty /AMA 0 \
2020-08-05 17:05:23 +07:00
use/arm-rpi4/kernel +power; @:
2019-10-01 19:18:42 +07:00
2020-08-21 00:01:58 +07:00
vm/regular-builder-rpi : vm /regular -jeos -systemd -rpi mixin /regular -builder ; @:
2020-08-05 15:26:32 +07:00
2021-07-28 11:58:48 +07:00
vm/regular-deepin-rpi : vm /.regular -gtk mixin /regular -deepin use /arm -rpi 4/full ; @:
2021-06-24 22:11:44 +07:00
2020-08-21 00:01:58 +07:00
vm/regular-lxde-rpi : vm /.regular -gtk mixin /regular -lxde use /arm -rpi 4/full ; @:
2019-10-01 19:18:42 +07:00
2020-08-21 00:01:58 +07:00
vm/regular-lxqt-rpi : vm /.regular -gtk mixin /regular -lxqt use /arm -rpi 4/full ; @:
2019-10-01 19:18:42 +07:00
2020-08-21 00:01:58 +07:00
vm/regular-mate-rpi : vm /.regular -gtk mixin /regular -mate use /arm -rpi 4/full ; @:
2019-10-01 19:18:42 +07:00
2020-08-21 00:01:58 +07:00
vm/regular-xfce-rpi : vm /.regular -gtk mixin /regular -xfce use /arm -rpi 4/full ; @:
2019-10-01 19:18:42 +07:00
2019-09-02 22:58:09 +07:00
e n d i f
i f e q ( , $( filter -out mipsel ,$ ( ARCH ) ) )
# Tavolga
2021-09-05 21:42:57 +07:00
vm/regular-jeos-systemd-tavolga : vm /systemd mixin /regular -vm -jeos \
2019-09-02 22:58:09 +07:00
use/mipsel-mitx; @:
2021-09-05 21:42:57 +07:00
vm/regular-jeos-sysv-tavolga : vm /bare mixin /regular -vm -jeos \
2019-09-02 22:58:09 +07:00
use/mipsel-mitx +power; @:
2020-09-07 14:50:56 +04:00
vm/regular-builder-tavolga : vm /regular -jeos -sysv -tavolga \
2019-09-02 22:58:09 +07:00
mixin/regular-builder; @:
2020-09-07 14:50:56 +04:00
vm/regular-icewm-sysv-tavolga : vm /.regular -desktop -sysv mixin /regular -icewm \
2019-09-02 22:58:09 +07:00
use/mipsel-mitx/x11; @:
2020-09-07 14:50:56 +04:00
vm/regular-lxde-tavolga : vm /.regular -gtk mixin /regular -lxde \
2019-09-02 22:58:09 +07:00
use/mipsel-mitx/x11; @:
2020-09-07 14:50:56 +04:00
vm/regular-lxqt-tavolga : vm /.regular -gtk mixin /regular -lxqt \
2019-09-02 22:58:09 +07:00
use/mipsel-mitx/x11; @:
2020-09-07 14:50:56 +04:00
vm/regular-mate-tavolga : vm /.regular -gtk mixin /regular -mate \
2019-09-19 23:35:05 +07:00
use/mipsel-mitx/x11
@$( call add,THE_PACKAGES,mate-reduced-resource)
2019-09-02 22:58:09 +07:00
2020-09-07 14:50:56 +04:00
vm/regular-xfce-tavolga : vm /.regular -gtk mixin /regular -xfce \
2019-09-19 23:35:05 +07:00
use/mipsel-mitx/x11
@$( call add,THE_PACKAGES,xfce-reduced-resource)
2019-09-02 22:58:09 +07:00
# bfk3
2021-09-05 21:42:57 +07:00
vm/regular-jeos-systemd-bfk3 : vm /systemd mixin /regular -vm -jeos \
2019-09-02 22:58:09 +07:00
use/mipsel-bfk3; @:
2021-09-05 21:42:57 +07:00
vm/regular-jeos-sysv-bfk3 : vm /bare mixin /regular -vm -jeos \
2019-09-02 22:58:09 +07:00
use/mipsel-bfk3 +power; @:
2020-09-07 14:50:56 +04:00
vm/regular-builder-bfk3 : vm /regular -jeos -sysv -bfk 3 \
2019-09-02 22:58:09 +07:00
mixin/regular-builder; @:
2020-09-07 14:50:56 +04:00
vm/regular-icewm-sysv-bfk3 : vm /.regular -desktop -sysv mixin /regular -icewm \
2019-09-02 22:58:09 +07:00
use/mipsel-bfk3/x11; @:
2020-09-07 14:50:56 +04:00
vm/regular-lxde-bfk3 : vm /.regular -gtk mixin /regular -lxde \
2019-09-02 22:58:09 +07:00
use/mipsel-bfk3/x11; @:
2020-09-07 14:50:56 +04:00
vm/regular-lxqt-bfk3 : vm /.regular -gtk mixin /regular -lxqt \
2019-09-02 22:58:09 +07:00
use/mipsel-bfk3/x11; @:
2020-09-07 14:50:56 +04:00
vm/regular-mate-bfk3 : vm /.regular -gtk mixin /regular -mate \
2019-09-19 23:35:05 +07:00
use/mipsel-bfk3/x11
@$( call add,THE_PACKAGES,mate-reduced-resource)
2019-09-02 22:58:09 +07:00
2020-09-07 14:50:56 +04:00
vm/regular-xfce-bfk3 : vm /.regular -gtk mixin /regular -xfce \
2019-09-19 23:35:05 +07:00
use/mipsel-bfk3/x11
@$( call add,THE_PACKAGES,xfce-reduced-resource)
2019-09-02 22:58:09 +07:00
e n d i f
e n d i f