Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Stanacar, StefanX" <stefanx.stanacar@intel.com>
To: "richard.purdie@linuxfoundation.org"
	<richard.purdie@linuxfoundation.org>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] core-image-lsb: enforce pam as a needed distro feature
Date: Mon, 31 Mar 2014 11:58:49 +0000	[thread overview]
Message-ID: <1396267153.6418.5.camel@firebird.rb.intel.com> (raw)
In-Reply-To: <1396259888.14790.58.camel@ted>




On Mon, 2014-03-31 at 10:58 +0100, Richard Purdie wrote:
> 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 <cristian.iorga@intel.com>
> > ---
> >  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?
> 

FWIW, all the -lsb buildsets are done with DISTRO=poky-lsb on the AB.
Unfortuntely we do have one problematic build.
So the answer to your question is: we don't have core-image-lsb builds
with DISTRO=poky but we do have a lib64-core-image-lsb-sdk image built
with DISTRO=poky and no pam in DISTRO_FEATURES, see the last build on
nightly-multilib... :(

Cheers,
Stefan

> Cheers,
> 
> Richard
> 


  parent reply	other threads:[~2014-03-31 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31  9:51 [PATCH 0/1] Fix for YB6073 Cristian Iorga
2014-03-31  9:51 ` [PATCH 1/1] core-image-lsb: enforce pam as a needed distro feature Cristian Iorga
2014-03-31  9:58   ` Richard Purdie
2014-03-31 10:09     ` Iorga, Cristian
2014-03-31 10:40       ` Iorga, Cristian
2014-03-31 11:58     ` Stanacar, StefanX [this message]
2014-03-31 12:18       ` Paul Eggleton
2014-03-31 17:03         ` Richard Purdie
2014-03-31 17:23           ` Paul Eggleton
2014-03-31 17:31           ` Burton, Ross
2014-03-31 17:57             ` Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396267153.6418.5.camel@firebird.rb.intel.com \
    --to=stefanx.stanacar@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox