1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-12 16:19:48 +03:00

main/postmarketos-base-ui: always install sleep-inhibitor.conf

Installing this config only when elogind/openrc is installed means that
systemd versions of pmOS don't get the fix in !6612

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6682
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2025-06-18 15:11:38 -07:00
parent b598643699
commit a9fe11c77f
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -1,7 +1,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-base-ui
pkgver=41
pkgrel=0
pkgrel=1
pkgdesc="Meta package for minimal postmarketOS UI base"
url="https://postmarketos.org"
arch="noarch"
@ -47,8 +47,9 @@ subpackages="
"
replaces="
chrony
wpa_supplicant-openrc
postmarketos-base
sleep-inhibitor
wpa_supplicant-openrc
"
replaces_priority=100 # leave plenty for alpine
@ -161,14 +162,10 @@ elogind() {
install_if="$pkgname=$pkgver-r$pkgrel elogind"
install="$subpkgname.post-install"
depends="!systemd-logind sleep-inhibitor-openrc openrc"
replaces="
elogind
sleep-inhibitor
"
replaces="elogind"
provides="postmarketos-base-elogind=$pkgver-r$pkgrel"
amove etc/elogind/logind.conf
amove etc/sleep-inhibitor.conf
}
openrc_settingsd() {