mkimage-profiles/conf.d/phone.mk

58 lines
1.9 KiB
Makefile
Raw Normal View History

mixin/waydroid: ; @:
ifeq (,$(filter-out aarch64 x86_64,$(ARCH)))
@$(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)
endif
mixin/phone-base: use/ntp/chrony use/repo use/branding/notes use/x11-autostart \
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 \
use/drm
2023-08-17 10:51:16 +03:00
@$(call add,THE_BRANDING,notes indexhtml)
@$(call add,THE_LISTS,mobile/base)
@$(call add,THE_PACKAGES,polkit-rule-mobile)
@$(call add,THE_PACKAGES,mesa-dri-drivers)
@$(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)
mixin/phosh: use/services +nm-gtk4 +nm-native
@$(call add,THE_LISTS,mobile/phosh)
@$(call add,DEFAULT_SERVICES_ENABLE,phosh)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
@$(call set,DEFAULT_SESSION,phosh)
ifeq (vm,$(IMAGE_CLASS))
vm/.phosh: vm/systemd mixin/phone-base mixin/phosh +systemd \
2023-09-04 14:48:01 +03:00
mixin/waydroid use/fonts/ttf/google
@$(call add,THE_LISTS,mobile/apps)
2023-09-18 17:33:53 +03:00
vm/phosh: vm/.phosh use/tty/S0 use/uboot use/phone/ttyescape +efi \
use/firmware +plymouth +pipewire
@$(call set,KFLAVOURS,un-def)
ifeq (aarch64,$(ARCH))
@$(call set,VM_PARTTABLE,msdos)
@$(call set,VM_BOOTTYPE,EFI)
endif
endif
ifeq (aarch64,$(ARCH))
# TODO: devicetree ($root)/boot/dtb/rockchip/rk3399-pinephone-pro.dtb
mixin/pinephone: use/firmware use/bootloader/uboot use/tty/S2 \
2023-11-23 14:39:00 +03:00
use/phone/ttyescape +pipewire
@$(call set,EFI_BOOTLOADER,)
@$(call set,UBOOT_TIMEOUT,5)
@$(call set,KFLAVOURS,pine)
@$(call add,THE_PACKAGES,eg25-manager)
@$(call add,THE_PACKAGES,udev-rules-modem-power)
@$(call add,DEFAULT_SYSTEMD_SERVICES_ENABLE,eg25-manager.service)
ifeq (vm,$(IMAGE_CLASS))
vm/pinephone-phosh: vm/.phosh mixin/pinephone +plymouth; @:
endif
endif