[OE-core] [PATCH 0/5] Add polkit distro feature
Stefan Agner
stefan at agner.ch
Tue Jan 15 22:27:25 UTC 2019
From: Stefan Agner <stefan.agner at toradex.com>
This patchset adds Polkit (formerly known as PolicyKit) as a distro feature.
Polkit is used to centrally manage system policies and allows non-privileged
processes access privileged operations.
Since various packages such as systemd, ConnMan or NetworkManager allow building
with/without Polkit support it is sensible to have a global policy by using a
distro feature to descide whether to use Polkit.
Currently there is NetworkManager and xfce4 which enable polkit if systemd is
enabled. Using Polkit as a distro feature allows to easily prevent any Polkit
use while still using systemd.
I plan to send another patch to wire this up in various packages in
meta-openembedded as well as documentation update.
--
Stefan
Stefan Agner (5):
systemd: only enable polkit if DISTRO_FEATURES asks for polkit
gconf: rename policykit to polkit
gconf: enable polkit if polkit distro feature is set
consolekit: rename policykit to polkit
consolekit: enable polkit if polkit distro feature is set
meta/recipes-core/systemd/systemd_239.bb | 3 +--
meta/recipes-gnome/gnome/gconf_3.2.6.bb | 7 +++----
meta/recipes-support/consolekit/consolekit_0.4.6.bb | 4 ++--
3 files changed, 6 insertions(+), 8 deletions(-)
--
2.13.6
More information about the Openembedded-core
mailing list