From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id 0E5EC6E79A for ; Mon, 31 Mar 2014 09:58:30 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s2V9wJxd032555; Mon, 31 Mar 2014 10:58:19 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45MrzjbmNT10; Mon, 31 Mar 2014 10:58:19 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s2V9wEMI032550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 31 Mar 2014 10:58:15 +0100 Message-ID: <1396259888.14790.58.camel@ted> From: Richard Purdie To: Cristian Iorga Date: Mon, 31 Mar 2014 10:58:08 +0100 In-Reply-To: <9e2ace2e2747ecda37004ea44d2e70de0586e185.1396259433.git.cristian.iorga@intel.com> References: <9e2ace2e2747ecda37004ea44d2e70de0586e185.1396259433.git.cristian.iorga@intel.com> X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/1] core-image-lsb: enforce pam as a needed distro feature X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 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: Mon, 31 Mar 2014 09:58:35 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2014-03-31 at 12:51 +0300, Cristian Iorga wrote: > core-image-lsb only gave a warning: > "WARNING: Building libpam but 'pam' isn't in DISTRO_FEATURES, > PAM won't work correctly" > when the proper DISTRO was not set for it. > default choice would be DISTRO = "poky-lsb", > but not necessarily, depending on each custom distro. > > This fix will enforce the proper usage of pam > as a distro feature for core-image-lsb by giving > an error instead of just a warning. > > Fixes [YOCTO #6073] > > Signed-off-by: Cristian Iorga > --- > meta/recipes-extended/images/core-image-lsb.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-extended/images/core-image-lsb.bb b/meta/recipes-extended/images/core-image-lsb.bb > index ed316a6..ab61c6e 100644 > --- a/meta/recipes-extended/images/core-image-lsb.bb > +++ b/meta/recipes-extended/images/core-image-lsb.bb > @@ -9,4 +9,6 @@ IMAGE_INSTALL = "\ > packagegroup-core-lsb \ > " > > -inherit core-image > +inherit core-image distro_features_check > + > +REQUIRED_DISTRO_FEATURES = "pam" I have a feeling the autobuilder builds core-image-lsb in situations where DISTRO=poky, although I could be wrong. Have you checked? Cheers, Richard