[yocto] "New" Dependencies (was: Re: [meta-selinux][PATCH] Add explicit dependency on layers with recipes we bbappend.)

Joe MacDonald Joe_MacDonald at mentor.com
Thu Feb 12 05:35:08 PST 2015


I thought I'd better follow this up with a semi-separate thread for
anyone who is using meta-selinux and isn't really interested in the
direct follow-ups when I just indicate a patch has been merged.

This went into master and it captures, I think, the implicit
dependencies in the layer right now.  It actually casts a wider net than
is required if you're building core-image-selinux, but it does describe
what's currently included in the layer in terms of appends, so it's the
right thing to do.

If you've been working with a smaller set of selinux layers before,
you'll probably see an error like this:

ERROR: Layer 'selinux' depends on layer 'meta-python', but this layer is not enabled in your configuration
ERROR: Layer 'selinux' depends on layer 'networking-layer', but this layer is not enabled in your configuration
ERROR: Layer 'selinux' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
ERROR: Layer 'selinux' depends on layer 'virtualization-layer', but this layer is not enabled in your configuration

If you don't want to bring in all of these additional layers, my advice
for the short term is to stick with either the 1.7 branch or if you know
you need to work on master, stick with commit 0d270cbd.

-J.

[Re: [meta-selinux][PATCH] Add explicit dependency on layers with recipes we bbappend.] On 15.02.12 (Thu 08:16) Joe MacDonald wrote:

> [[meta-selinux][PATCH] Add explicit dependency on layers with recipes we bbappend.] On 15.02.12 (Thu 04:39) Philip Tricca wrote:
> 
> > This is a stop-gap to get meaningful error messages to folks till we get
> > per-layer bbappends implemented.
> > 
> > Signed-off-by: Philip Tricca <flihp at twobit.us>
> 
> Merged.  Thanks Phil.
> 
> -J.
> 
> > ---
> >  conf/layer.conf |    8 +++++++-
> >  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > diff --git a/conf/layer.conf b/conf/layer.conf
> > index 7af76a1..723f5a8 100644
> > --- a/conf/layer.conf
> > +++ b/conf/layer.conf
> > @@ -13,4 +13,10 @@ BBFILE_PRIORITY_selinux = "5"
> >  # cause compatibility issues with other layers
> >  LAYERVERSION_selinux = "1"
> >  
> > -LAYERDEPENDS_selinux = "core"
> > +LAYERDEPENDS_selinux = " \
> > +    core \
> > +    meta-python \
> > +    networking-layer \
> > +    openembedded-layer \
> > +    virtualization-layer \
> > +"
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150212/29be744b/attachment.pgp>


More information about the yocto mailing list