From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1U1FBc-0004TO-E9 for openembedded-core@lists.openembedded.org; Fri, 01 Feb 2013 12:53:42 +0100 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 01 Feb 2013 03:36:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,579,1355126400"; d="scan'208";a="256137240" Received: from dell-desktop (HELO localhost.localdomain) ([10.237.105.59]) by orsmga001.jf.intel.com with ESMTP; 01 Feb 2013 03:37:53 -0800 From: Radu Moisan To: openembedded-core@lists.openembedded.org Date: Fri, 1 Feb 2013 13:37:50 +0200 Message-Id: <1359718670-20670-1-git-send-email-radu.moisan@intel.com> X-Mailer: git-send-email 1.7.9.5 Subject: [PATCH] polkit: Enable systemd support X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 11:53:44 -0000 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 Signed-off-by: Martin Jansa --- meta/recipes-extended/polkit/polkit_0.104.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/polkit/polkit_0.104.bb b/meta/recipes-extended/polkit/polkit_0.104.bb index 2c0aaca..ab2547b 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" -- 1.7.9.5