+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.