Skip to content

Add polkit distro feature

Stefan Agner openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5systemd: only enable polkit if DISTRO_FEATURES asks for polkitmeta/recipes-core/systemd/systemd_239.bb+1 -20 replies
2/5gconf: rename policykit to polkitmeta/recipes-gnome/gnome/gconf_3.2.6.bb+3 -30 replies
3/5gconf: enable polkit if polkit distro feature is setmeta/recipes-gnome/gnome/gconf_3.2.6.bb+1 -20 replies
4/5consolekit: rename policykit to polkitmeta/recipes-support/consolekit/consolekit_0.4.6.bb+1 -10 replies
5/5consolekit: enable polkit if polkit distro feature is setmeta/recipes-support/consolekit/consolekit_0.4.6.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Add polkit distro feature

From: Stefan Agner <[email protected]>

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(-)
Signature · 1 line
2.13.6