From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S4fND-0004rd-I4 for openembedded-core@lists.openembedded.org; Mon, 05 Mar 2012 22:23:15 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q25LEdgu005156; Mon, 5 Mar 2012 21:14:39 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03429-01; Mon, 5 Mar 2012 21:14:34 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q25LER02005149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2012 21:14:32 GMT Message-ID: <1330982065.25887.3.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Mon, 05 Mar 2012 13:14:25 -0800 In-Reply-To: <1330933112-13510-1-git-send-email-koen@dominion.thruhere.net> References: <1330933112-13510-1-git-send-email-koen@dominion.thruhere.net> X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: Koen Kooi Subject: Re: [PATCH v2 1/4] polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 21:23:15 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2012-03-05 at 08:38 +0100, Koen Kooi wrote: > Signed-off-by: Koen Kooi > --- > meta/recipes-extended/polkit/polkit_0.104.bb | 25 +++++++++++++++---------- > 1 files changed, 15 insertions(+), 10 deletions(-) > > diff --git a/meta/recipes-extended/polkit/polkit_0.104.bb b/meta/recipes-extended/polkit/polkit_0.104.bb > index 2737a4a..5dc82c5 100644 > --- a/meta/recipes-extended/polkit/polkit_0.104.bb > +++ b/meta/recipes-extended/polkit/polkit_0.104.bb > @@ -6,28 +6,33 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \ > file://src/polkit/polkit.h;beginline=1;endline=20;md5=0a8630b0133176d0504c87a0ded39db4 \ > file://docs/polkit/html/license.html;md5=d85a36709a446c10f4ee123f9dda0e38" > > +DEPENDS = "expat dbus-glib eggdbus intltool-native" > + > +PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" > +PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=none,libpam,libpam" > + After this merged I found a few issues on the autobuilder. There were two problems. If DISTRO_FEATURES didn't contain pam and was empty, the PACKAGECONFIG code would not trigger at all (and not add the authfw=none). Secondly, I think we need "shadow", not "none" as otherwise the builds fail due to an invalid configuration. I've pushed the two fixes for this since builds were breaking. Cheers, Richard