From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([143.182.124.37]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1U1D4D-0000q7-OY for openembedded-core@lists.openembedded.org; Fri, 01 Feb 2013 10:37:56 +0100 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 01 Feb 2013 01:22:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,579,1355126400"; d="scan'208";a="251303392" Received: from dell-desktop (HELO localhost.localdomain) ([10.237.105.59]) by azsmga001.ch.intel.com with ESMTP; 01 Feb 2013 01:22:07 -0800 From: Radu Moisan To: openembedded-core@lists.openembedded.org Date: Fri, 1 Feb 2013 11:22:02 +0200 Message-Id: <1359710522-26839-1-git-send-email-radu.moisan@intel.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 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 09:38:00 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit enable/disable support as relevant Signed-off-by: Radu Moisan Signed-off-by: Andreas Müller --- 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..08e016a 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 DEPENDS +PACKAGECONFIG[consolekit] = ",,,consolekit" PR = "r9" -- 1.7.9.5