From: Gabe Evans Date: Fri, 1 Jul 2016 21:51:14 +0000 (+0200) Subject: package/systemd: add optional support for polkit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a9e440b8ecd90a63766c7ab795b58cf5619ddaa;p=buildroot.git package/systemd: add optional support for polkit Signed-off-by: Gabe Evans Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 441a80af24..80796d2190 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -253,6 +253,17 @@ config BR2_PACKAGE_SYSTEMD_COREDUMP http://www.freedesktop.org/software/systemd/man/systemd-coredump.html +config BR2_PACKAGE_SYSTEMD_POLKIT + bool "enable polkit support" + select BR2_PACKAGE_POLKIT + help + If enabled, systemd is built with polkit support and policy + files for its services are generated and installed. It is + useful for allowing unprivileged processes to speak to + systemd's many privileged processes. + + http://wiki.freedesktop.org/www/Software/polkit/ + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 4a2654c999..5b0aa01b95 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -237,6 +237,12 @@ else SYSTEMD_CONF_OPTS += --disable-coredump endif +ifeq ($(BR2_PACKAGE_SYSTEMD_POLKIT),y) +SYSTEMD_CONF_OPTS += --enable-polkit +else +SYSTEMD_CONF_OPTS += --disable-polkit +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK