Skip to content
Snippets Groups Projects
Verified Commit 19a7de41 authored by achill (fossdd)'s avatar achill (fossdd) :gay_pride_flag:
Browse files

main/postmarketos-ui-phosh: use tinydm for systemd

phosh.service is missing some files to properly start, adding these is
not trivial without upstream abuild split func.

Switch to tinydm.service for systemd systems.

Ref: postmarketOS/pmaports#3464 (comment 467493)

Closes: postmarketOS/pmaports#3460
Closes: postmarketOS/pmaports#3464
parent 4d35434e
No related branches found
No related tags found
No related merge requests found
# Reference: https://postmarketos.org/uipkg
# Maintainer: Newbyte <newbyte@postmarketos.org>
pkgname=postmarketos-ui-phosh
pkgver=22.5
pkgver=23
pkgrel=0
pkgdesc="(Wayland) Mobile UI initially developed for the Librem 5"
url="https://phosh.mobi"
......@@ -18,6 +18,7 @@ depends="
postmarketos-base-ui-gnome-mobile
postmarketos-base-ui-qt-tweaks
postmarketos-base-ui-qt-wayland
tinydm
udiskie
xdg-desktop-portal-wlr
xdg-desktop-portal-phosh
......@@ -47,10 +48,7 @@ package() {
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install"
depends="
tinydm
tinydm-openrc
"
depends=""
mkdir "$subpkgdir"
}
......
......@@ -2,6 +2,5 @@
rc-update add tinydm default
rc-update add waked default
tinydm-set-session -s /usr/share/wayland-sessions/phosh.desktop
exit 0
......@@ -10,4 +10,6 @@ if [ -n "$default_user" ]; then
usermod -aG feedbackd "$default_user"
fi
tinydm-set-session -s /usr/share/wayland-sessions/phosh.desktop
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment