"New" Dependencies (was: Re: [meta-selinux][PATCH] Add explicit dependency on layers with recipes we bbappend.)
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.
Quoted 31 lines · [Re: [meta-selinux][PATCH] Add explicit dependency on layers with recipes we…
Quoted 4 lines · [[meta-selinux][PATCH] Add explicit dependency on layers with recipes we…
This is a stop-gap to get meaningful error messages to folks till we get per-layer bbappends implemented.
Signed-off-by Philip Tricca <[email protected]>Merged. Thanks Phil.
-J.
Quoted 20 lines
--- conf/layer.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)conf/layer.conf +7
-1@@ -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 \ +"
Signature · 2 lines
-Joe MacDonald. :wq