On Fri, Apr 02, 2021 at 11:32:14AM -0700, akuster808 wrote:
> 
> 
> On 4/2/21 12:02 AM, Martin Jansa wrote:
> > * copy the skip from podman recipe, because this packagegroup
> >   depends on podman
> >
> > Signed-off-by: Martin Jansa <[email protected]>
> > ---
> >  recipes-core/packagegroups/packagegroup-container.bb | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/recipes-core/packagegroups/packagegroup-container.bb 
> > b/recipes-core/packagegroups/packagegroup-container.bb
> > index d425ac5..b3b0d4c 100644
> > --- a/recipes-core/packagegroups/packagegroup-container.bb
> > +++ b/recipes-core/packagegroups/packagegroup-container.bb
> > @@ -44,3 +44,12 @@ RDEPENDS_packagegroup-containerd = " \
> >      virtual/containerd \
> >  "
> >
> > +python __anonymous() {
> > +    msg = ""
> > +    # ERROR: Nothing PROVIDES 'libseccomp' (but 
> > meta-virtualization/recipes-containers/podman/ DEPENDS on or otherwise 
> > requires it).
> > +    # ERROR: Required build target 'meta-world-pkgdata' has no buildable 
> > providers.
> > +    # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
> > 'podman', 'libseccomp']
> > +    if 'security' not in d.getVar('BBFILE_COLLECTIONS').split():
> > +        msg += "Make sure meta-security should be present as it provides 
> > 'libseccomp'"
> > +        raise bb.parse.SkipRecipe(msg)
> > +}
> 
> That reminds me that the libsecomp pkg should move to meta-oe so this
> other layers don't have to do these kinds of things.

there are also nagios recipes depending on meta-webserver which is
listed in LAYERRECOMMENDS_virtualization-layer but it would be better to
skip them like this when meta-webserver isn't included as well.

> 
> -armin
> >
> > 
> >
> 

Attachment: signature.asc
Description: PGP signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6300): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6300
Mute This Topic: https://lists.yoctoproject.org/mt/81797534/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to