2024-01-22 08:54:54 +03:00
# enables tty on the mobile device using a hotkey
2024-01-21 19:15:59 +03:00
mixin/ttyescape : use /services ; @:
i f n e q ( , $( filter -out riscv 64,$ ( ARCH ) ) )
@$( call add,THE_PACKAGES,hkdm ttyescape)
@$( call add,DEFAULT_SYSTEMD_SERVICES_ENABLE,hkdm)
e n d i f
2024-08-16 21:51:35 +03:00
mixin/mobile-base :: use /ntp /chrony use /repo use /branding /notes use /x 11-autostart \
2023-07-03 13:49:21 +03:00
use/deflogin/privileges use/deflogin/xgrp use/deflogin/hardware \
2023-11-02 23:54:05 +03:00
use/deflogin/root use/l10n/ru_RU use/xdg-user-dirs \
2024-02-11 14:59:02 +03:00
use/drm use/firmware mixin/ttyescape +plymouth +pipewire \
2024-08-15 08:25:12 +03:00
use/services/bluetooth-enable use/luks/touchscreen
2024-04-11 19:38:16 +03:00
i f e q ( s i s y p h u s , $( BRANCH ) )
@$( call set,BRANDING,alt-mobile-sisyphus)
e l s e
@$( call set,BRANDING,alt-mobile)
e n d i f
2024-04-29 13:53:02 +03:00
@$( call add,THE_BRANDING,graphics notes indexhtml)
2023-07-03 13:49:21 +03:00
@$( call add,THE_LISTS,mobile/base)
2023-08-17 15:32:41 +03:00
@$( call add,THE_PACKAGES,polkit-rule-mobile)
2023-10-10 20:51:49 +03:00
@$( call add,THE_PACKAGES,mesa-dri-drivers)
2024-01-21 19:15:59 +03:00
@$( call add,THE_PACKAGES,eg25-manager)
@$( call add,THE_PACKAGES,udev-rules-modem-power)
@$( call set,UBOOT_TIMEOUT,5)
2023-07-03 13:49:21 +03:00
@$( call add,USERS,altlinux:271828:1:1)
@$( call set,LOCALES,ru_RU en_US)
@$( call set,LOCALE,ru_RU)
@$( call add,CONTROL,fusermount:public)
@$( call add,CONTROL,libnss-role:disabled)
2023-11-28 20:55:25 +03:00
mixin/phosh : use /services +nm -gtk 4 +nm -native
2024-04-11 19:38:16 +03:00
@$( call add,THE_BRANDING,phosh-settings)
2023-08-02 15:31:30 +03:00
@$( call add,THE_LISTS,mobile/phosh)
2023-07-14 12:16:42 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,phosh)
2023-03-26 19:10:06 +03:00
@$( call set,DEFAULT_SESSION,phosh)
2024-03-21 17:42:46 +03:00
@$( call add,THE_PACKAGES,dconf-epiphany-mobile-user-agent)
2023-03-26 19:10:06 +03:00
2024-08-16 21:51:35 +03:00
i f n e q ( s i s y p h u s , $( BRANCH ) )
mixin/mobile-base ::
2024-06-13 13:32:04 +03:00
@$( call add,THE_LISTS,mobile/AD)
2024-08-16 21:51:35 +03:00
e n d i f
2024-06-13 13:32:04 +03:00
2023-03-26 19:10:06 +03:00
i f e q ( v m , $( IMAGE_CLASS ) )
2024-01-22 08:54:54 +03:00
vm/.phosh : vm /systemd mixin /mobile -base mixin /phosh +systemd \
2024-01-31 17:18:24 +03:00
mixin/waydroid use/fonts/ttf/google \
use/auto-resize
2023-08-02 15:33:57 +03:00
@$( call add,THE_LISTS,mobile/apps)
2023-03-26 19:10:06 +03:00
2024-04-11 10:25:11 +03:00
vm/alt-mobile-phosh-un-def : vm /.phosh mixin /uboot -extlinux -efi use /tty /S 0
2023-07-17 17:45:19 +03:00
@$( call set,KFLAVOURS,un-def)
2023-03-26 19:10:06 +03:00
2024-06-13 13:32:04 +03:00
vm/alt-mobile-phosh-un-def-ad : vm /alt -mobile -phosh -un -def mixin /mobile -ad ; @:
2023-03-26 19:10:06 +03:00
i f e q ( a a r c h 6 4 , $( ARCH ) )
2024-04-11 10:25:11 +03:00
mixin/mobile-pine : mixin /uboot -extlinux use /tty /S 2
2023-06-17 15:08:59 +03:00
@$( call set,KFLAVOURS,pine)
2024-03-22 20:38:23 +03:00
@$( call add,THE_PACKAGES,alsa-ucm-conf-pinephone-pro-workaround)
2023-03-26 19:10:06 +03:00
2024-04-11 10:25:11 +03:00
mixin/mobile-mp : mixin /uboot -extlinux use /tty /S 0
2024-04-11 09:32:26 +03:00
@$( call set,KFLAVOURS,mp)
2024-04-11 10:30:30 +03:00
mixin/mobile-lt11i : mixin /uboot -extlinux use /tty /S 0
@$( call set,KFLAVOURS,lt11i)
2024-07-28 22:07:31 +03:00
@$( call add,THE_PACKAGES,lt11i-bluetooth)
2024-07-31 22:25:48 +03:00
@$( call add,THE_PACKAGES,firmware-lt11i)
2024-04-11 10:30:30 +03:00
mixin/mobile-nxp : mixin /uboot -extlinux use /tty /S 0
@$( call set,KFLAVOURS,nxp)
2024-06-06 07:13:32 +03:00
mixin/mobile-rocknix : mixin /uboot -extlinux use /tty /S 0
@$( call set,KFLAVOURS,rocknix)
@$( call add,THE_PACKAGES,u-boot-rockchip)
2024-06-15 05:07:58 +03:00
@$( call add,THE_PACKAGES,rg552-hw-control)
2024-07-09 16:07:33 +03:00
@$( call add,THE_PACKAGES,udev-rules-goodix-touchpad)
2024-06-22 18:08:03 +03:00
@$( call add,DEFAULT_SYSTEMD_SERVICES_ENABLE,rg552-fancontrol.service)
@$( call add,DEFAULT_SYSTEMD_SERVICES_ENABLE,rg552-wifi.service)
2024-06-06 07:13:32 +03:00
2024-04-11 10:02:14 +03:00
vm/alt-mobile-phosh-pine : vm /.phosh mixin /mobile -pine ; @:
2024-04-11 09:32:26 +03:00
vm/alt-mobile-phosh-mp : vm /.phosh mixin /mobile -mp ; @:
2024-04-11 10:30:30 +03:00
vm/alt-mobile-phosh-lt11i : vm /.phosh mixin /mobile -lt 11i ; @:
vm/alt-mobile-phosh-nxp : vm /.phosh mixin /mobile -nxp ; @:
2024-06-06 07:13:32 +03:00
vm/alt-mobile-phosh-rocknix : vm /.phosh mixin /mobile -rocknix ; @:
2023-03-26 19:10:06 +03:00
e n d i f
e n d i f