main/postmarketos-ui-phosh: use tinydm for systemd (MR 6150)
Ref: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3464#note_467493 Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3460 Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3464 Edit by Oliver: added tinydm-openrc back to the openrc() subpackage, as otherwise we may try to enable the service before it is installed in the post-install script.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 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="tinydm-openrc"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user