Skip to content
Snippets Groups Projects
Commit b6e68d32 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

polkit-parsing: use 'gdbus wait' instead of mc-wait-for-name


This removes a dependency on telepathy-mission-control-5
which is no longer available in Apertis v2024

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 2f3d644a
No related branches found
No related tags found
1 merge request!295polkit-parsing: use 'gdbus wait' instead of mc-wait-for-name
Pipeline #609752 failed
......@@ -34,10 +34,8 @@ fi
( set +e; sudo ${polkitd} --replace 2>&1 ) | sed 's/^/# /' | tee $TMPFILE &
# Wait for it to start.
# FIXME: This should be replaced with something non-Telepathy-specific later.
# Like upstreaming mc-wait-for-name to gdbus.
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket \
mc-wait-for-name org.freedesktop.PolicyKit1
gdbus wait --address unix:path=/var/run/dbus/system_bus_socket \
org.freedesktop.PolicyKit1
# Query for actions, which forces polkit to parse all the policy files and
# output warnings if any are malformed.
......
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