systemd/polkit: fix polkit-elogind provider priority
polkit-elogind has provider priority 10 in Alpine, so it would actually end up preferred over the systemd polkit. Fix this by increasing the priority of the provider. This went unnoticed so far because pmbootstrap always preferred providers with exact name matches so far. Signed-off-by: Jens Reidel <adrian@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7373>
This commit is contained in:
@@ -4,7 +4,7 @@ maintainer="Jane Rachinger <jane400+pmaports@postmarketos.org>"
|
||||
pkgname=polkit
|
||||
pkgver=999126
|
||||
_pkgver=126
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Application development toolkit for controlling system-wide privileges"
|
||||
url="https://github.com/polkit-org/polkit"
|
||||
# armhf: pmb#2618
|
||||
@@ -13,7 +13,8 @@ license="GPL-2.0-or-later"
|
||||
# pmb:strict: force zap after building this package so we don't still have
|
||||
# systemd-stage0 installed
|
||||
# !check: needs a functioning dbus daemon
|
||||
options="suid pmb:strict !check"
|
||||
# !pmb:crossdirect: otherwise we see lto1: fatal error: compiler does not support ZSTD LTO compression
|
||||
options="suid pmb:strict !check !pmb:crossdirect"
|
||||
makedepends="
|
||||
dbus-dev
|
||||
duktape-dev
|
||||
@@ -78,6 +79,7 @@ check() {
|
||||
package() {
|
||||
depends="$pkgname-libs=$pkgver-r$pkgrel"
|
||||
provides="$pkgname-elogind=$pkgver-r$pkgrel"
|
||||
provider_priority=9999
|
||||
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C systemd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user