2023-07-24 15:19:03 +07:00
mixin/waydroid : ; @:
i f e q ( , $( filter -out aarch 64 x 86_ 64,$ ( ARCH ) ) )
2023-07-03 18:06:41 +07:00
@$( call add,THE_PACKAGES,libgbinder1 waydroid)
@$( call add,THE_KMODULES,anbox)
@$( call add,DEFAULT_SYSTEMD_SERVICES_ENABLE,waydroid-container.service)
@$( call add,BASE_BOOTARGS,psi= 1)
2023-07-24 15:19:03 +07:00
e n d i f
2023-07-03 18:06:41 +07:00
2023-10-10 19:40:43 +07:00
mixin/phone-base : use /ntp /chrony use /repo use /branding /notes use /x 11-autostart \
2023-07-03 17:49:21 +07:00
use/deflogin/privileges use/deflogin/xgrp use/deflogin/hardware \
2023-11-03 03:54:05 +07:00
use/deflogin/root use/l10n/ru_RU use/xdg-user-dirs \
use/drm
2023-08-17 14:51:16 +07:00
@$( call add,THE_BRANDING,notes indexhtml)
2023-07-03 17:49:21 +07:00
@$( call add,THE_LISTS,mobile/base)
2023-08-17 19:32:41 +07:00
@$( call add,THE_PACKAGES,polkit-rule-mobile)
2023-10-11 00:51:49 +07:00
@$( call add,THE_PACKAGES,mesa-dri-drivers)
2023-07-03 17:49:21 +07: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-09 19:24:03 +07:00
mixin/phosh : use /services +nm +nm -native
2023-08-02 19:31:30 +07:00
@$( call add,THE_LISTS,mobile/phosh)
2023-07-14 16:16:42 +07:00
@$( call add,DEFAULT_SERVICES_ENABLE,phosh)
2023-03-26 23:10:06 +07:00
@$( call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
@$( call set,DEFAULT_SESSION,phosh)
i f e q ( v m , $( IMAGE_CLASS ) )
2023-07-03 18:06:41 +07:00
vm/.phosh : vm /systemd mixin /phone -base mixin /phosh +systemd \
2023-09-04 18:48:01 +07:00
mixin/waydroid use/fonts/ttf/google
2023-08-02 19:33:57 +07:00
@$( call add,THE_LISTS,mobile/apps)
2023-03-26 23:10:06 +07:00
2023-09-18 21:33:53 +07:00
vm/phosh : vm /.phosh use /tty /S 0 use /uboot use /phone /ttyescape +efi \
2023-11-09 19:24:03 +07:00
use/firmware +plymouth +pipewire
2023-07-17 21:45:19 +07:00
@$( call set,KFLAVOURS,un-def)
2023-07-18 23:16:26 +07:00
i f e q ( a a r c h 6 4 , $( ARCH ) )
@$( call set,VM_PARTTABLE,msdos)
@$( call set,VM_BOOTTYPE,EFI)
e n d i f
2023-03-26 23:10:06 +07:00
e n d i f
i f e q ( a a r c h 6 4 , $( ARCH ) )
# TODO: devicetree ($root)/boot/dtb/rockchip/rk3399-pinephone-pro.dtb
2023-10-11 00:51:49 +07:00
mixin/pinephone : use /firmware use /bootloader /uboot use /tty /S 2 \
2023-11-09 19:24:03 +07:00
use/phone/ttyescape +pulse
2023-06-15 23:20:58 +07:00
@$( call set,EFI_BOOTLOADER,)
2023-06-16 12:07:41 +03:00
@$( call set,UBOOT_TIMEOUT,5)
2023-06-17 19:08:59 +07:00
@$( call set,KFLAVOURS,pine)
2023-07-03 15:06:17 +07:00
@$( call add,THE_PACKAGES,eg25-manager)
2023-10-19 21:42:59 +07:00
@$( call add,THE_PACKAGES,udev-rules-modem-power)
2023-07-03 15:06:17 +07:00
@$( call add,DEFAULT_SYSTEMD_SERVICES_ENABLE,eg25-manager.service)
2023-03-26 23:10:06 +07:00
i f e q ( v m , $( IMAGE_CLASS ) )
2023-07-14 09:37:52 +07:00
vm/pinephone-phosh : vm /.phosh mixin /pinephone +plymouth ; @:
2023-03-26 23:10:06 +07:00
e n d i f
e n d i f