diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-02-01 13:38:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-04 13:14:18 +0000 |
commit | 67c13656343d55ae9d1c79dcace5c79004c4c186 (patch) | |
tree | 6c71c986dffc486b46cc9f0d78eabf6017beb6e0 /meta | |
parent | f9491f2ed276d591b7a2c6eff2a7241f627db50c (diff) | |
download | openembedded-core-67c13656343d55ae9d1c79dcace5c79004c4c186.tar.gz openembedded-core-67c13656343d55ae9d1c79dcace5c79004c4c186.tar.bz2 openembedded-core-67c13656343d55ae9d1c79dcace5c79004c4c186.zip |
polkit: Enable systemd support
By default the polkit will autodetect if systemd is available
and setup the configuraton accordingly, potentially
contaminating sstate.
In this patch systemd is explicitly enabled/disabled.
When enabled, polkit will use systemd for session tarcking,
otherwise it will use ConsoleKit.
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/polkit/polkit_0.104.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/polkit/polkit_0.104.bb b/meta/recipes-extended/polkit/polkit_0.104.bb index 2c0aacaac3..ab2547b831 100644 --- a/meta/recipes-extended/polkit/polkit_0.104.bb +++ b/meta/recipes-extended/polkit/polkit_0.104.bb @@ -7,8 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \ DEPENDS = "expat glib-2.0 intltool-native gobject-introspection-stub" -PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" +PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ + ${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" + PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam" +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" +# there is no --enable/--disable option for consolekit and it's not picked by shlibs, so add it to RDEPENDS +PACKAGECONFIG[consolekit] = ",,,consolekit" PR = "r9" |