[oe-commits] Ross Burton : polkit: respect systemd DISTRO_FEATURE

git at git.openembedded.org git at git.openembedded.org
Thu Jan 31 14:11:38 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 1abefaf0520b73a559c07fa6b858b5f70ad6ac84
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1abefaf0520b73a559c07fa6b858b5f70ad6ac84

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Jan 31 12:38:45 2013 +0000

polkit: respect systemd DISTRO_FEATURE

By default polkit uses systemd if it's available, which mean systemd runtime
dependencies sneaking into non-systemd builds via sstate.

Instead respect the systemd feature and enable/disable support as relevant.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/polkit/polkit_0.104.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/polkit/polkit_0.104.bb b/meta/recipes-extended/polkit/polkit_0.104.bb
index 2c0aaca..37d8428 100644
--- a/meta/recipes-extended/polkit/polkit_0.104.bb
+++ b/meta/recipes-extended/polkit/polkit_0.104.bb
@@ -7,8 +7,10 @@ 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', '', d)}"
 PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam"
+PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
 
 PR = "r9"
 





More information about the Openembedded-commits mailing list