pmaports/main/postmarketos-base-ui-gnome/postmarketos-base-ui-gnome.post-install
Pablo Correa Gómez e6a905c176
main/postmarketos-base-ui-gnome: enable apk-polkit-rs service (MR 4014)
Needed by GNOME Software since
https://gitlab.alpinelinux.org/Cogitri/apk-polkit-rs/-/merge_requests/45

GNOME Software is often installed in GNOME UI's through pmb_recommends,
but it's not a dependency in any way. To avoid spilling this service
enablement everywhere, add just the openrc subpackage from the daemon.
That means that if GNOME Software is not installed or gets uninstalled,
the daemon will crash on startup. That should not be a big deal though.

[ci:skip-build] already built successfully in CI
2023-04-30 00:02:12 -07:00

7 lines
194 B
Bash

#!/bin/sh
rc-update add apk-polkit-server default
rc-update add bluetooth default
rc-update add iio-sensor-proxy default
rc-update add modemmanager default
rc-update add networkmanager default