main/postmarketos-base-ui: move non-openrc tinydm config into its own subpackage

When systemd was added to postmarketOS, the postmarketos-base-ui-tinydm subpackage was never
updated to support it, meaning that only OpenRC ever got the config file. This commit fixes
that by creating a postmarketos-base-ui-tinydm-openrc subpackage and moving the OpenRC logic
there, leaving only the service manager agnostic config in the postmarketos-base-ui-tinydm
subpackage.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8939>
This commit is contained in:
Aster Boese 2026-06-25 22:57:03 +02:00 committed by The Friendly Meow (merge) Bot
parent 5e5a451de1
commit bf912e9c1f
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
maintainer="Clayton Craft <clayton@craftyguy.net>"
pkgname=postmarketos-base-ui
pkgver=50
pkgver=51
pkgrel=0
pkgdesc="Meta package for minimal postmarketOS UI base"
url="https://postmarketos.org"
@ -41,6 +41,7 @@ subpackages="
$pkgname-qt-tweaks:qt_tweaks
$pkgname-qt-wayland:qt_wayland
$pkgname-tinydm
$pkgname-tinydm-openrc:tinydm_openrc
$pkgname-wayland
$pkgname-wifi-iwd:iwd
$pkgname-wifi-iwd-openrc:iwd_openrc
@ -181,11 +182,17 @@ openrc_settingsd() {
}
tinydm() {
install_if="$pkgname=$pkgver-r$pkgrel tinydm"
provides="postmarketos-base-tinydm=$pkgver-r$pkgrel"
amove usr/share/tinydm/env-wayland.d/50-sdl-wayland.sh
}
tinydm_openrc() {
install_if="$pkgname=$pkgver-r$pkgrel tinydm-openrc"
replaces="tinydm-openrc"
provides="postmarketos-base-tinydm=$pkgver-r$pkgrel"
amove etc/conf.d/tinydm
amove usr/share/tinydm/env-wayland.d/50-sdl-wayland.sh
}
obexd() {